Have all players load scene Asynchronously

Options
Hi, I'm trying to set it up so that when a player joins a room he loads the game scene asynchronously, so that when the game starts he can join near-instantaneously. If they started an asynchronous scene load operation upon joining the room, would the MasterClient just be able to send a message to all the clients saying to enter the scene when it's ready? It seems like I would need to turn off AutomaticallySyncScene to do this. Is this a good way to go about it? Thanks!

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited July 2020
    Options
    Hi @matthewjd24,

    PUN 2's PhotonNetwork.LoadLevel called by Master Client with AutomaticallySyncScene = true does exactly what you ask: it calls Unity's asynchronous scene loading on all clients, currently joined or late joiners.
  • matthewjd24
    Options
    Thanks, I will read up on the documentation about PhotonNetwork.LoadLevel