#Can't shutdown Steamworks.Net connection when returning to main menu from game scene
1 messages · Page 1 of 1 (latest)
NetworkManager.Shutdown() should work.
The template uses Mirror. But yeah, shutting down Mirror's NetworkManager using StopClient/StopHost should stop most if not all processes.
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).
I don't know much about Steamworks and it's seemingly endless supply of community wrappers and transports, but I would just look through all of the Steam related classes and look for something that shuts it down or resets it.
SteamLobbyManager and SteamMatchmaking are probably a good place to start.
You don't need the steam transport connected to join/leave steam lobbies
Bro, write this script and be a hero. I'll name my son after you
It's just a function call. I don't use Mirror or Steamworks.net. But when leaving a lobby is will be something like lobby.Leave() on the client side.