Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Photon View ID

$
0
0
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!

Viewing all articles
Browse latest Browse all 15755

Trending Articles