NetworkLobbyManager can't accept new connection [hostId: -1 connectionId: 0 isReady: False channel count: 0], not in lobby and game already in progress.

Hello Everyone,

I know I must be doing something dumb, but I can’t quite get rid of this warning in the title, and I believe its causing me bugs further down the line.

Here’s the relevant source:

public void CreateMatch(){
	NetworkLobbyManager.singleton.StartMatchMaker ();
	NetworkLobbyManager.singleton.matchMaker.CreateMatch ("Test", 8, true, "", "", "", 0, 0, OnMatchCreate);
}

public void OnMatchCreate(bool success, string extendedInfo, MatchInfo info){
	Debug.Log(success); //true 
	MatchInfo i = info;
	NetworkServer.Listen(i, 9000);
	NetworkLobbyManager.singleton.StartHost (i);
}

I can’t seem to find the solution anywhere in the manual. Can anyone explain to me exactly what’s going on? Is there some way that I should be setting up the singleton object to prevent this?

Hey, just in case anyone else has a similar problem. Here’s what fixed it for me:

The reason of this issue was apparently because I changed the lobby scene’s name that the Network Lobby Manager was in. I simply re-assigned it in the Network Lobby Manager component’s inspector and I’m not getting the issue anymore.

It looks like it’s a bug but I’m not sure.