Marco Polo Tutorial & Demo Not working (Override not occurring)

I'm going through the Marco Polo Tutorial, where I am overriding "OnJoinedLobby":
public override void OnJoinedLobby() {
Debug.Log("Success: Joined Lobby");
PhotonNetwork.JoinRandomRoom();
}


My GUI is logging "ConnectedToMaster" when running the game, but I never get my "Success" message logged, nor does it try to join a random room.

I thought it was MY problem, so I tried to run the official "Marco Polo" Demo, and that doesn't work either. When playing the demo, it only shows "Connected to Master", it never logs anything or tried to join a random room.

So it seems that public override void OnJoinedLobby() is not working at all, why are the overrides not working, why does the Marco Polo demo not work?

Best Answer

  • Selzier
    Selzier
    Answer ✓
    Window > Photon Unity Networking > PUN Wizard > Locate PhotonServerSettings > Client Settings > Auto-Join Lobby

Answers

  • Selzier
    Selzier
    Answer ✓
    Window > Photon Unity Networking > PUN Wizard > Locate PhotonServerSettings > Client Settings > Auto-Join Lobby
  • Sorry for the hassle.
    Good you found it and posted the solution, too. Thanks.