[PUN2] [Bug] OnRoomListUpdate gives only one room
Options
Hello,
Here is what happens:
When {Player A} connects for the first time to photon, the RoomInfo list retrieved from OnRoomListUpdate is good. Then a random player {Player B} creates a new room, OnRoomListUpdate is being called on {Player A} side but it returns only one room, the one created by {Player B}
Is it a normal behavior?
Thanks
Here is what happens:
When {Player A} connects for the first time to photon, the RoomInfo list retrieved from OnRoomListUpdate is good. Then a random player {Player B} creates a new room, OnRoomListUpdate is being called on {Player A} side but it returns only one room, the one created by {Player B}
Is it a normal behavior?
Thanks
0
Comments
-
Hi @forplayers,
Yes, that is the normal behaviour.
Only first event after joining contains the complete list after that you get updates only and need to cache the list on the client.
See demos to know more about this.1 -
Thanks a lot for the quick reply!0