diff --git a/Assets/Mirror/Transports/SimpleWeb/Client/SimpleWebClient.cs b/Assets/Mirror/Transports/SimpleWeb/Client/SimpleWebClient.cs index 3569af3f0..358b5a39c 100644 --- a/Assets/Mirror/Transports/SimpleWeb/Client/SimpleWebClient.cs +++ b/Assets/Mirror/Transports/SimpleWeb/Client/SimpleWebClient.cs @@ -90,6 +90,8 @@ public void ProcessMessageQueue(MonoBehaviour behaviour) break; } } + if (receiveQueue.Count > 0) + Debug.LogWarning($"SimpleWebClient ProcessMessageQueue has {receiveQueue.Count} remaining."); } public abstract void Connect(Uri serverAddress); diff --git a/Assets/Mirror/Transports/SimpleWeb/Server/SimpleWebServer.cs b/Assets/Mirror/Transports/SimpleWeb/Server/SimpleWebServer.cs index 05cf9963a..f15d0487d 100644 --- a/Assets/Mirror/Transports/SimpleWeb/Server/SimpleWebServer.cs +++ b/Assets/Mirror/Transports/SimpleWeb/Server/SimpleWebServer.cs @@ -114,6 +114,13 @@ public void ProcessMessageQueue(MonoBehaviour behaviour) break; } } + + if (server.receiveQueue.Count > 0) + { + Console.ForegroundColor = ConsoleColor.Yellow; + Console.WriteLine($"SimpleWebServer ProcessMessageQueue has {server.receiveQueue.Count} remaining."); + Console.ResetColor(); + } } } }