customproperties missing on playerconnected

Options
custom properties are missing from photonplayer OnPhotonPlayerConnected!

trying to access a property but it is null! why are properties synced after but not when connection made?

Comments

  • rstorm000
    Options
    same question
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @mrm83, @rstorm000,

    Could you please tell us how and when are you setting custom properties of the player?
    A short code snippet of what you are trying to do could help.
  • rstorm000
    Options
    @JohnTube I was setting the custom player properties before someone joins and then trying to hold off on sending them certain RPGs or messages until they set that property ("Loading") to false. You seemingly can't read those props if the person joined an immediately set their isMessageQueueRunning to false though.
  • rstorm000
    Options
    @JohnTube it's almost like we need some variables that as secure as playerName for people, other properties we can be sure are replicated upon connect. Is there a way to add those?