Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

When can i count on PlayerProperties being synced?

$
0
0
Hello,

I have an application where I'm setting custom properties for each player locally before they connect Photon. I'm wondering if I can then count on those player properties being available to other clients as soon as that player appears (for example, in OnPhotonPlayerConnected). Do I need to worry about a race condition where the player exists but their custom properties are null for a a while until they are synced?

Thanks!

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>