Skip to content

Commit 8c76504

Browse files
test-fix
Commenting out log message in CreateObjectMessage (leaving it there for potential debug purposes while working on Unified stuff).
1 parent b80b0c3 commit 8c76504

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

com.unity.netcode.gameobjects/Runtime/Messaging/Messages/CreateObjectMessage.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,11 @@ public bool Deserialize(FastBufferReader reader, ref NetworkContext context, int
121121
}
122122

123123
#if UNIFIED_NETCODE
124-
if (networkManager.LogLevel == LogLevel.Developer)
125-
{
126-
UnityEngine.Debug.Log($"Received {nameof(CreateObjectMessage)} for NetworkObjectId-{ObjectInfo.NetworkObjectId}.");
127-
}
124+
// Leaving for debugging purposes
125+
//if (networkManager.LogLevel == LogLevel.Developer)
126+
//{
127+
// UnityEngine.Debug.Log($"Received {nameof(CreateObjectMessage)} for NetworkObjectId-{ObjectInfo.NetworkObjectId}.");
128+
//}
128129

129130
// For now, we will defer the create object message until the associated Ghost is spawned
130131
if (ObjectInfo.HasGhost && !networkManager.SpawnManager.GhostsPendingSpawn.ContainsKey(ObjectInfo.NetworkObjectId))

0 commit comments

Comments
 (0)