Help me please - Received OnSerialization for view ID 1001.

Options
Hi all,
Master become invisible after join room, from which I build 3 or 4 objects can you help me please?

check the video you can see the problem

https://streamable.com/rwt2v

Comments

  • Haskoman
    Haskoman
    edited September 2018
    Options
    Received OnSerialization for view ID 1001. We have no such PhotonView! Ignored this if you're leaving a room. State: Joined

    i have try this but nothing changed ;(

    https://doc.photonengine.com/en-us/pun/current/getting-started/feature-overview#_messageQ

    If i build one item or two is work no error no master invisible, if i build 3 or 4 item i get the bug after join room again
  • Haskoman
    Options
    help me please
  • Hi @Haskoman,

    this could be a problem related with scene loading. You can try to mark the characters as DontDestroyOnLoad and see if this helps. As far as I can see, the second clients joins the room before loading the game scene. If so, the client will receive the Instantiation calls and will instantiate the character, before loading the game scene. When loading the scene, the game objects gets destroyed, which results in Received OnSerialization for view ID 1001. We have no such PhotonView!. If you mark the characters as DontDestroyOnLoad, they won't get destroyed when loading the scene.
  • Haskoman
    Haskoman
    edited September 2018
    Options
    Hi @Christian_Simon , thanks for the reply, i have fixed problem , i just have remove photonView in my item build anD no more bug :) its strange but is work for me :)