Pause serialization for specific player

Hi!
I'm sending a new scene via a custom command. But Photon doesn't seem to know about this so it sends object serializations of objects that aren't yet loaded in the lag time between sending and receiving the new scene command.
This results in a bit of warning on player connection.

What I'd basically need is to simply pause the view serialization sending for the specific player until he gets the new scene command.
Any easy way to do this?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Moloko,

    Maybe this ("isMessageQueueRunning") can help?
  • Hmm but that would prevent the client from getting any messages.
    I solved the problem using groups. Basically there's a connecting packets channel (0) and a game/objects channel (1). After the client is done initializing it activates group 1.