Player CustomProperties retained through different rooms?
Options
Hi all.
I'm assigning a variety of properties to players in a room, then after the game is complete I call PhotonNetwork.Disconnect(). It seems though that when that player joins a new room, the custom properties are still set from the previous match.
Is this intended behavior in PUN?
I'm assigning a variety of properties to players in a room, then after the game is complete I call PhotonNetwork.Disconnect(). It seems though that when that player joins a new room, the custom properties are still set from the previous match.
Is this intended behavior in PUN?
0
Comments
-
Im not quite sure but this shouldn't happen.
What you can is changing PlayerTtl to -1
https://doc-api.photonengine.com/en/pun/v2/class_photon_1_1_realtime_1_1_room_options.html#a209447cfcc1477298f53bd59d7771e88
Also you should call LeaveRoom before Disconnect0