PhotonView SceneID isn't 0 in prefab

ktweedy1ktweedy1 ✭✭
When I instantiate a prefab I have been getting a duplicate view ID error. After looking into I see that the sceneId in the PhotonView isn't 0 in the prefab. So I commented out hide inspector attribute and I was able to manually set this to 0 and this resolved the error.

Sharing, because is there something I should be doing different. Guessing this got assigned when I was creating the prefab in the scene and saved it as a prefab.


  • Hi @ktweedy1,

    Thank you for choosing Photon!

    I think this error is fixed in latest PUN 2 versions.
    Could you update and retry?

    Thanks for your patience and understanding!
Sign In or Register to comment.