OnRoomListUpdate unreliable
In my lobby, I want to list all ongoing sessions.
To sum it up, they sometimes appear sometimes not. What is going on?
My lobby is: private TypedLobby customLobby = new TypedLobby("customLobby", LobbyType.Default);
Room creation is:
public void ConnectToRoom(string roomName)
{
DebugText($"trying to join {roomName}");
RoomOptions roomOptions = new RoomOptions();
roomOptions.MaxPlayers = 20;
roomOptions.IsVisible = true;
PhotonNetwork.JoinOrCreateRoom(roomName, roomOptions, TypedLobby.Default);
PhotonNetwork.KeepAliveInBackground = 1;
}
I Don't see how this would give unreliable results...? Why do rooms sometimes not show up? They are not full, the are open, I use the same Lobby, I use the same Build, I used the same wifi network.
Comments
-
You are not using
customLobby
?At room creation, you should pass this. Unless you joined that lobby beforehand (but it's simpler to always pass this parameter in room creation).
0