#Can't shutdown Steamworks.Net connection when returning to main menu from game scene

1 messages · Page 1 of 1 (latest)

lusty ocean
#

I'm trying to make a multiplayer game based on this template: https://berkayw.com/unity-multiplayer.html. The challenge is adding the "Return to Main Menu" button from the GameScene to the SteamScene, as I'm unable to stop all the processes. I'd appreciate any assistance.

drowsy jewel
#

NetworkManager.Shutdown() should work.

scarlet heath
#

The template uses Mirror. But yeah, shutting down Mirror's NetworkManager using StopClient/StopHost should stop most if not all processes.

lusty ocean
#

I would love to create a back to main menu button, but when I do that I can't create a new lobby. (It reloads the SteamScene and disables the Network, Host, Client).

scarlet heath
#

SteamLobbyManager and SteamMatchmaking are probably a good place to start.

drowsy jewel
lusty ocean
drowsy jewel