#I want to reload the scene when the host leaves (whole game is one scene) to essentially start fresh
6 messages · Page 1 of 1 (latest)
{
if(IsClientOnly)
{
LocalConnection.Disconnect(false);
}
else
{
_networkManager.ServerManager.StopConnection(true);
}
UnityEngine.SceneManagement.SceneManager.LoadScene(UnityEngine.SceneManagement.SceneManager.GetActiveScene().buildIndex);
}```
for clarity^
Ive tried creating a emtpy scene and switching to it as a middle man, deleting the network manager entriely, setting the DNDOL to off, and so much more. I cannot for the life figure it out. I origionally thought this would take be 5 minute haha
Got it fixed. Sorry if forgot to mention I was on 3.11.12R. The issue resolved itself once I updated to fishnet 4.2.2R. I believe it was a bug.
Ah, gotcha. Glad it was resolved though 💯