diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs index e85d45a00..a32ec1235 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs @@ -217,6 +217,8 @@ void CmdClientToServerBaseline_PositionRotation(byte baselineTick, Vector3 posit // debug draw: baseline if (debugDraw) Debug.DrawLine(position, position + Vector3.up, Color.yellow, 10f); + Debug.Log($"{name} server received baseline: {baselineTick}"); + // if baseline counts as delta, insert it into snapshot buffer too if (baselineIsDelta) OnClientToServerDeltaSync(baselineTick, position, rotation);//, scale); @@ -271,6 +273,8 @@ void CmdClientToServerDelta_PositionRotation(byte baselineTick, Vector3 position // debug draw: delta if (debugDraw) Debug.DrawLine(position, position + Vector3.up, Color.white, 10f); + Debug.Log($"[{name}] server received delta for {baselineTick}, with last baseline {lastDeserializedBaselineTick}"); + // Debug.Log($"[{name}] server received delta for baseline #{lastDeserializedBaselineTick}"); OnClientToServerDeltaSync(baselineTick, position, rotation);//, scale); }