Illegal view ID:0 method: how to fix this sir ?
Options
how to fix this sir ?
0
Comments
-
Hi @afa,
the problem is, that the PhotonView component is not set up properly. If you are usingPhotonNetwork.Instantiate
orPhotonNetwork.InstantiateSceneObject
, the attached PhotonView component is set up properly. If you are using Manual Instantiation, make sure to callPhotonNetwork.AllocateViewID()
and assign the ViewId to the PhotonView.0 -
idont know how to set PhotonNetwork.AllocateViewID() at all ,,please help0