diff --git a/Assets/Mirror/Runtime/NetworkClient.cs b/Assets/Mirror/Runtime/NetworkClient.cs index 5929fd483..e699ddf98 100644 --- a/Assets/Mirror/Runtime/NetworkClient.cs +++ b/Assets/Mirror/Runtime/NetworkClient.cs @@ -78,7 +78,7 @@ void InitializeTransportHandlers() Transport.activeTransport.OnClientError.AddListener(OnError); } - void OnError(Exception exception) + static void OnError(Exception exception) { Debug.LogException(exception); }