protected override void OnSessionClosed(SyncSession session, CloseReason reason) { Debug.Log("SyncService OnSessionClosed " + session.SessionID); base.OnSessionClosed(session, reason); if (session.m_connect != null) { m_world.DestroyEntity(session.m_entity.ID); } }