Currently I'm trying to make a matchmakingsystem for my game with the photon networkingsystem. I already can create rooms and join into them, however if I try to use the PhotonNetwork.getRoomList() function the array is always empty. Following the network status string I know that I am in the standard lobby.
My Code:
void fillBrowser()
{
Debug.Log("Checking for Rooms");
if(PhotonNetwork.insideLobby)
{
Debug.Log("Inside a Lobby");
Debug.Log(PhotonNetwork.GetRoomList().ToString());
}
}
Returns:
Checking for Rooms
Inside a Lobby
RoomInfo[]