Hi. I’m making a local host multiplayer game that uses steam networking with Mirror.
Everything seems fine at first. Player1
creates the game and Player2
joins to Player1
via Steam Friends
. However, if they return to MainMenu
and Player2
decides to create the game Player1
can’t join the game.
Basically, if a player hosts a game session and others join, all players can only join that host. Sometimes restarting steam fixes that problem sometimes not.
I hope you can help. Thanks in advance.
Since you are using Steam networking with Mirror and not the Unity Game Services, it might be harder for me to help you with your specific issue. However, based on what you described, it seems like the problem might be related to how Steam handles game sessions. It is possible that a player can only be part of one game session at a time, and if they try to join another game session, they will encounter an error. This might explain why you can only join the first host that you connected to, and why restarting Steam sometimes fixes the problem.
– LibrarianshipThanks for the response.
– Penelope