How did I get this error? Assertion failed: MappedClientConnections.Remove(ConstAddrRef) == 1

I implementing a Steam lobby system for my game.

So my game basically so far goes from the menu screen with lobby making functionalities, than all players travel game map at the lobby’s host’s listening server on Steam. Everything worked as intended so far, but when the game finishes and everyone travels back to the lobby map and then when I tried to travel to the game map as a lobby together the second time I get that error.

The assertion error is from the source file “Engine/Source/Runtime/Engine/Private/NetDriver.cpp” and specifically from the method “RemoveClientConnection” of the class “UNetDriver”.

Thanks

Hi, I got the same error and still couldn’t fix it, now I’m trying to reinstall the advance plugin and hope for a miracle. But here’s what I managed to find out

• Assertion failed: This means that there was a check in the code that failed. In this case, it checks that the number of removed connections (MappedClientConnections.Remove(ConstAddrRef)) should be equal to 1.

• MappedClientConnections: This is likely a collection or array that contains active client connections.

• ConstAddrRef: This is a reference to the client address you are trying to remove from the collection.

• File and Line: Points to the file and line in the Unreal Engine source code where the error occurred. This can help developers debug.