diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs similarity index 99% rename from Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs rename to Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs index 1c0c55422..7687c345d 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs @@ -367,7 +367,7 @@ protected virtual void OnClientToServerDeltaSync(byte baselineTick, Vector3 posi bufferSizeLimit, new TransformSnapshot( timestamp, // arrival remote timestamp. NOT remote time. - Time.timeAsDouble, + NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet position, rotation, scale @@ -710,8 +710,8 @@ protected virtual void OnServerToClientDeltaSync(byte baselineTick, Vector3 posi clientSnapshots, bufferSizeLimit, new TransformSnapshot( - timestamp, // arrival remote timestamp. NOT remote time. - Time.timeAsDouble, + timestamp, // arrival remote timestamp. NOT remote time. + NetworkTime.localTime, // Unity 2019 doesn't have Time.timeAsDouble yet position, rotation, scale diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs.meta b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs.meta similarity index 100% rename from Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs.meta rename to Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs.meta