Timing for RPCs and Loading Levels question

Options
If I do it like in the tutorial

PhotonNetwork.isMessageQueueRunning = false;
Application.LoadLevel(levelName);

I get "GO still instantiated, use PhotonNetwork.Destroy"


If I use PhotonNetwork.LoadLevel, however, Its not working if I disable the Queue before Loading the level..

Comments

  • Tobias
    Options
    Destroy the GOs before you load a new level. This is important, to let the server know these objects should be deleted.
    I am not sure if this is handled in PhotonNetwork.LoadLevel either. It makes sense to have your game logic handle destroying the GOs. You can make sure everything is cleaned up before you load new stuff (which destroys the old one).