i did try the
NetworkManager.Singleton.OnServerStopped += b => StartCoroutine(Restart());
private IEnumerator Restart()
{
Debug.Log("marked");
yield return new WaitForEndOfFrame();
StartHost().Forget();
}
but somehow it didnt respond when host left the session -> session terminated , not even the debug log
is there any more specfic events that can let me react to this? i need to respond to this situation so i can create a new session for players to get back