Stop Instantiated Objects on joining Room

I want to join a Room where a game is already going.
After the join, the Scene should be reloaded and the game restart.

Problem is, although I have no bufferedRPCs, the instantiatedObjects appear as soon as I join the room. That is, if I am in the scene or not. Either way, there are errors with that.

I want to stop the instantiated Objects.

Currently I am trying to destroy them in the OnPhotonPlayerConnected Method, but that does not seem fast enough, they still appear on client and crush the client.

Comments

  • Try PhotonNetwork.automaticallySyncScene and PhotonNetwork.LoadLevel.
    This should solve the issues for you automagically ;)