logwarning

This commit is contained in:
miwarnec 2024-11-04 11:32:20 +01:00
parent e72ed7ed00
commit 1552aa2d4b

View File

@ -293,7 +293,7 @@ protected virtual void OnClientToServerDeltaSync(byte baselineTick, Vector3? pos
// this can happen if unreliable arrives before reliable etc.
// no need to log this except when debugging.
Debug.Log($"[{name}] Server: received delta for wrong baseline #{baselineTick} from: {connectionToClient}. Last was {lastDeserializedBaselineTick}. Ignoring.");
Debug.LogWarning($"[{name}] Server: received delta for wrong baseline #{baselineTick} from: {connectionToClient}. Last was {lastDeserializedBaselineTick}. Ignoring.");
return;
}
@ -451,7 +451,7 @@ protected virtual void OnServerToClientDeltaSync(byte baselineTick, Vector3 posi
// this can happen if unreliable arrives before reliable etc.
// no need to log this except when debugging.
Debug.Log($"[{name}] Client: received delta for wrong baseline #{baselineTick}. Last was {lastDeserializedBaselineTick}. Ignoring.");
Debug.LogWarning($"[{name}] Client: received delta for wrong baseline #{baselineTick}. Last was {lastDeserializedBaselineTick}. Ignoring.");
return;
}