Reconnecting to game room

Options
i seem to be haveing issues reconnecting to game room after leaving, i have tried useing PhotonNetwork.leaveRoom and photonNetwork.Disconnect both together and seperatly, when leave room is called i am removing all the RPC's, after i ave loaded the main menu the connection status seems to get stuck on connecting to name server, and then upon reentering the same room i get two characters spawned without any of the appropriate scripts enabled or disabled pls help.

Comments

  • vadim
    Options
    When calling PhotonNetwork.leaveRoom, clients leaves room and gets to the lobby.
    photonNetwork.Disconnect completely disconnects client. After this call you can start connection to nameserver again.
    Make sure that you are in lobby when calling joinRoom to reconnect room.
    Keep one client running while experimenting with reconnects on other client. If sync'ed properly, both should have same characters.
    It's not clear for me why you need to 'remove RPC'.