diff --git a/Assets/Mirror/Core/NetworkServer.cs b/Assets/Mirror/Core/NetworkServer.cs index d601cc9b7..9b57b28c1 100644 --- a/Assets/Mirror/Core/NetworkServer.cs +++ b/Assets/Mirror/Core/NetworkServer.cs @@ -120,7 +120,7 @@ public static void Listen(int maxConns) if (Transport.active is PortTransport portTransport) { -#if UNITY_SERVER +#if UNITY_SERVER && !UNITY_EDITOR Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine($"Server listening on port {portTransport.Port}"); Console.ResetColor();