We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9978ce0 commit 974b379Copy full SHA for 974b379
Assets/BossRoom/Scripts/Shared/Game/UI/Editor/NetworkLatencyWarning.cs
@@ -20,7 +20,7 @@ public class NetworkLatencyWarning : MonoBehaviour
20
21
void Update()
22
{
23
- if (NetworkManager.Singleton.IsClient || NetworkManager.Singleton.IsServer)
+ if (NetworkManager.Singleton != null && (NetworkManager.Singleton.IsClient || NetworkManager.Singleton.IsServer))
24
25
var chosenTransport = NetworkManager.Singleton.NetworkConfig.NetworkTransport;
26
0 commit comments