Illegal view ID
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
Illegal view ID:0 method: how to fix this sir ?
afa
2018-09-17 02:04:38
how to fix this sir ?
Comments
[Deleted User]
2018-09-18 09:22:43
Hi @afa,
the problem is, that the PhotonView component is not set up properly. If you are using PhotonNetwork.Instantiate
or PhotonNetwork.InstantiateSceneObject
, the attached PhotonView component is set up properly. If you are using Manual Instantiation, make sure to call PhotonNetwork.AllocateViewID()
and assign the ViewId to the PhotonView.
idont know how to set PhotonNetwork.AllocateViewID() at all ,,please help
Back to top