You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug.LogWarning("Directly calling `UnityTransport.Shutdown()` results in unexpected shutdown behaviour. All pending events will be lost. Use `NetworkManager.Shutdown()` instead.");
1448
+
}
1449
+
1445
1450
if(m_Driver.IsCreated)
1446
1451
{
1447
1452
// Flush all send queues to the network. NGO can be configured to flush its message
@@ -1461,6 +1466,7 @@ public override void Shutdown()
1461
1466
DisposeInternals();
1462
1467
1463
1468
m_ReliableReceiveQueues.Clear();
1469
+
m_State=State.Disconnected;
1464
1470
1465
1471
// We must reset this to zero because UTP actually re-uses clientIds if there is a clean disconnect
0 commit comments