PUN2: Found Bug in OnPhotonPlayerPropertiesChanged() not raising

OnPhotonPlayerPropertiesChanged() will not be raised when we call Player.SetCustomProperties locally.
In the Pun1 it worked. if the photon was open source, i could correct these found bugs. :( i dont understand why it has these bugs, maybe the developers team has not unit test to be passed before releasing.

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @ahoogol,

    So you are expecting the same behaviour as PUN1.
    Having a different behaviour in PUN2 does not automatically/always mean it's a bug.

    PUN and PUN2 are mostly open source and you can debug this issue yourself.

    Could you describe the expected behaviour properly?
    You want the callback to be called when in offline mode or not connected yet or outside of rooms?
    Or you want the callback to be called always and as soon as the player properties are changed for local player without waiting for the server response?

    Could you describe the actual behaviour you are seeing and think is wrong?
  • hi @JohnTube
    In the online room, when a player set own properties, others recieve the event but itself not.
  • JohnTube
    JohnTube ✭✭✭✭✭
    edited October 2018
    We could have a bug yes.
    Please make sure to have RoomOptions.BroadcastPropsChangeToAll is set to true when you create rooms.
    If it still does not work, try using Expected Properties to force this behaviour.
    Please report back your findings.
    Thank you for your cooperation and understanding.