Having a room lobby and its mechanics

Heya everyone, i'm currently working on a game...

I'm trying to add a room lobby, ive got the player list and a room chat currently...

If i turn off PhotonNetwork.autosyncscene, the player Prefab spawns in the lobby for anyone not in game and causes errors...

Any ideas on how to only PhotonNetwork.Instantiate for current scene and how to load these + any destroys when the player enters the room?"


Thanks for any help.

Answers

  • Hi @ZF4 I see nobody has responded. I'm new to Photon so might not be too helpful but the question is a bit vague for someone to simply post a solution.

    Like what error? Why are you turning off AutomaticallySyncScene? Add a room lobby meaning where all the players hang out in the game?

    My suggestion would be to locate a published example that implements what you are looking for or that is at least close so you don't have to create absolutely everything from scratch.