OnReceivedRoomList() Never calls?

I am having trouble trying to display my Game Rooms. So I came upon this callback, turns out - it never calls. I cant figure out what I did wrong :/ I connect to the Lobby no problem.

I am still very early on in my integration of Photon Cloud but basically here is what I am doing today:

When I load this particular part of the gui, I connect to the server:
PhotonNetwork.ConnectUsingSettings("V0.1");

Then I use OnJoinedLobby() to create a room:
void OnJoinedLobby()
{
Debug.Log("Joined lobby and creating room");
PhotonNetwork.CreateRoom("test");
}

Then I try to check and see when I received the room list, but I never get it:
void OnReceivedRoomList()
{
Debug.Log("Received room list");
}

But that debug.log never gets called :(

Comments

  • I think OnReceivedRoomList is outdated. We removed it in favor of OnReceivedRoomListUpdate. We only called OnReceivedRoomList once and otherwise used the update method, which wasn't very useful.

    I stumbled over this myself recently but found it in the changelog. The latest PUN package has the demos updated accordingly.
    The enum PhotonNetworkingMessage contains a full list of used callbacks.
  • Ah we'll that would be simple enough of a fix :)

    Will try that out.thanks!