Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Actor.UserID blank

$
0
0
I have an extremely peculiar case in which my plugin an Actor has a blank UserId. It is hard to reproduce but, after OnCreateRoom the only active actor has a blank UserID (it is equal to ""). I use a timer to delay it (tried upto 1000ms) and tried using info.UserId and searching through all active actors, but the UserID is still blank.

I use custom authentication and the UserID issued by the WS. What are the cases in which an Actor's UserID should be blank? Even if the WS denied the player auth, would the UserID be blank?

I am quite stumped. Help would be awesome. I am using the latest photon server V4-29-11263

Viewing all articles
Browse latest Browse all 1557

Trending Articles