Hello,
I'm using PhotonNetwork.AllocateViewID() to generate unique viewID. But it is returning a value of 0 the first time, and this is generating an error due to a condition checked by photon if the viewID is less than 1.
I was wondering why the viewID shouldn't be 0 while the AllocateViewID() generates a 0? And how can I evade this error?
Thanks!
I'm using PhotonNetwork.AllocateViewID() to generate unique viewID. But it is returning a value of 0 the first time, and this is generating an error due to a condition checked by photon if the viewID is less than 1.
I was wondering why the viewID shouldn't be 0 while the AllocateViewID() generates a 0? And how can I evade this error?
Thanks!