Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

LobbyManager: can't start new game after RETURNING to Lobby

Discussion in 'Connected Games' started by csofranz, May 18, 2018.

  1. csofranz


    Apr 29, 2017
    I'm running into show-stopping, yet very strange and intermittent (2 out of 3 times roughly) network bug. I'm seeing this pattern:

    1. Enter Lobby scene, Instantiate Unity Lobby prefab (from Asset Store) to allow players to choose create or join a game. For this, we always create games
    2. choose 'create game' (one of 4 network scenes), start game, others join until complete and count-down runs to zero
    3. Enter game scene, game commences, eventually game is done
    4. Exit game scene
    5. Return to the lobby scene with original lobby manager still working (don't destroy on load active on lobby manager)
    6. Kill original lobby manager, shut down server, create a new lobby manager
    7. When I now try to create a new game, 2 out of 3 times I get the dreaded 'A connection has already been set as ready. There an be only one' error.

    Other that I'm really starting to hate 'Highlander', can anyone tell me where this comes from and how I can work around it? This is the last thing holding us up, and after two weeks of trying to get to the bottom of this, I'm starting to get desperate. Why isn't it happening every time? What is causing it? When is it caused? Why doesn't it trigger OnServerError? Why? WHY????


    Thanks for any pointers.

  2. razavidn


    Dec 23, 2017
    Bumping this thread, because I'm experiencing the same problem, and can't for the life of me figure out why.