Search Unity

Cannot "Set the LobbyScene slot of the NetworkLobbyManger to the scene"

Discussion in 'Multiplayer' started by MrLucid72, Oct 30, 2016.

  1. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    995
    Looking at the lobby docs,
    Adding the Lobby to a Game
    Set the LobbyScene slot of the NetworkLobbyManger to the scene that contains the LobbyManager object

    I can drag the Play scene just fine. However, when trying to drag the Lobby scene...

     
  2. Benvictus

    Benvictus

    Joined:
    Sep 12, 2013
    Posts:
    87
    What errors or warnings appear in the console when you do this?
     
  3. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    995
    None -nothing at all. I tried to click the circle on the right to select the scene too. Nothing happens as if I never interacted with it.
     
  4. LutzKellen

    LutzKellen

    Joined:
    Oct 3, 2016
    Posts:
    4
    I had this same issue. You can fix it by saving your lobby scene as a new scene and then adding that one to the build order and adding it to the lobby manager.

    I have no idea what the cause is, it is certainly a Unity bug.
     
    ruoshan, thedrhax14 and MrLucid72 like this.
  5. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    995
    Hmm, this didn't work for me. I can't seem to save the CURRENT scene no matter what file it is. Any other file fits. I'm going to try to make a lobbymgr in a new scene completely and save it as a prefab if i can drag it in. This is definitely a bug, if I'm not at least getting a warning.
     
    Last edited: Nov 3, 2016
  6. SK83RJOSH

    SK83RJOSH

    Joined:
    May 11, 2014
    Posts:
    6
    This worked for me, but I had to restart the editor after adding the scenes to the player. Thanks!
     
  7. shough

    shough

    Joined:
    Sep 13, 2017
    Posts:
    5
    Same issue, same solution
     
  8. thedrhax14

    thedrhax14

    Joined:
    Aug 7, 2014
    Posts:
    38
    Worked
     
  9. hierkus

    hierkus

    Joined:
    Mar 30, 2019
    Posts:
    1
    You need to add the lobby scene to the build.