PUN2: Found Bug in OnPhotonPlayerPropertiesChanged() not raising
Options
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.
0
Comments
-
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?0 -
We could have a bug yes.
Please make sure to haveRoomOptions.BroadcastPropsChangeToAll
is set totrue
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.0