Why does AllocateViewID(photonView) set viewId to -999

Options
I'm trying to automatically allocate a viewId using PUN2 after I instantiate it. Why is it when I use AllocateViewID(photonView)the view id is set to -999.

Comments

  • Hi @meatloaf,

    can you confirm that the client is connected to Photon and has joined a room properly? Are there any other PhotonView components in the scene with allocated ViewIds? If so, how many are there? Can you show the code you are using when instantiating the GameObject and allocating the ViewId? Did you apply any modifications to the PhotonNetwork class which might affect this? Are there any error messages logged to the console?