// this is invoked by the UnityEngine when a Mono Domain reload happens in the editor. // the transport layer has state in C++, so when the C# state is lost (on domain reload), the C++ transport layer must be shutown as well. static internal void UNetDomainReload() { NetworkManager.OnDomainReload(); }