Hi all. We're running our own Photon server, with a PUN client.
First, is there a built in way to force the room list to be sent by the server, so that EventCode.GameList or EventCode.GameListUpdate is received? We seem to be waiting several seconds for an OnReceivedRoomListUpdate() call. But sometimes a bunch of them come over the wire. I guess this is because people are leaving rooms and it sends an update. Is there a room list heartbeat time we can set to guarantee everyone in the lobby gets updated quickly?
Secondly, when we do get the call, we get a room list of size 0 at times, usually followed by the correct room number a few seconds later. Sometimes it sends 0 after we've already received correct room lists. This happens when people are logged in.
First, is there a built in way to force the room list to be sent by the server, so that EventCode.GameList or EventCode.GameListUpdate is received? We seem to be waiting several seconds for an OnReceivedRoomListUpdate() call. But sometimes a bunch of them come over the wire. I guess this is because people are leaving rooms and it sends an update. Is there a room list heartbeat time we can set to guarantee everyone in the lobby gets updated quickly?
Secondly, when we do get the call, we get a room list of size 0 at times, usually followed by the correct room number a few seconds later. Sometimes it sends 0 after we've already received correct room lists. This happens when people are logged in.