File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
com.unity.netcode.gameobjects
Tests/Runtime/NetworkTransform Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ public void NetworkUpdate(NetworkUpdateStage updateStage)
302302
303303#if COM_UNITY_MODULES_PHYSICS
304304 NetworkTimeSystem . UpdateTime ( ) ;
305-
305+
306306 // Transport processes events after time has been updated
307307 NetworkConfig . NetworkTransport . PreUpdate ( ) ;
308308#endif
Original file line number Diff line number Diff line change @@ -290,9 +290,9 @@ void LogOwnerRigidBody(int stage)
290290 {
291291 var ownerRigidbody = ownerInstance . GetComponent < Rigidbody > ( ) ;
292292 ownerRigidbody . Move ( valueSetByOwner , rotation ) ;
293+ yield return new WaitForFixedUpdate ( ) ;
293294 ownerRigidbody . linearVelocity = Vector3 . zero ;
294295 yield return new WaitForFixedUpdate ( ) ;
295- yield return s_DefaultWaitForTick ;
296296 ownerInstance . transform . localScale = valueSetByOwner ;
297297 }
298298 else
You can’t perform that action at this time.
0 commit comments