diff --git a/Unity-Technologies-networking/Runtime/NetworkConnection.cs b/Unity-Technologies-networking/Runtime/NetworkConnection.cs index b17625de7..e6cd6c8ef 100644 --- a/Unity-Technologies-networking/Runtime/NetworkConnection.cs +++ b/Unity-Technologies-networking/Runtime/NetworkConnection.cs @@ -241,19 +241,6 @@ protected void HandleBytes(byte[] buffer) msgDelegate(msg); } lastMessageTime = Time.time; - - #if UNITY_EDITOR - UnityEditor.NetworkDetailStats.IncrementStat( - UnityEditor.NetworkDetailStats.NetworkDirection.Incoming, - (short)MsgType.HLAPIMsg, "msg", 1); - - if (msgType > (short)MsgType.Highest) - { - UnityEditor.NetworkDetailStats.IncrementStat( - UnityEditor.NetworkDetailStats.NetworkDirection.Incoming, - (short)MsgType.UserMessage, msgType.ToString() + ":" + msgType.GetType().Name, 1); - } - #endif } else {