@@ -290,16 +290,17 @@ public void NonAuthorityOwnerSettingStateTest([Values] Interpolation interpolati
290290
291291 m_EnableVerboseDebug = true ;
292292 VerboseDebug ( $ "Target Frame Rate: { Application . targetFrameRate } ") ;
293- m_AuthoritativeTransform . Teleport ( Vector3 . zero , Quaternion . identity , Vector3 . one ) ;
294- var success = WaitForConditionOrTimeOutWithTimeTravel ( ( ) => PositionRotationScaleMatches ( Vector3 . zero , Quaternion . identity . eulerAngles , Vector3 . one ) , 800 ) ;
295- Assert . True ( success , $ "Timed out waiting for initialization to be applied!") ;
293+ //m_AuthoritativeTransform.Teleport(Vector3.zero, Quaternion.identity, Vector3.one);
294+ //TimeTravelAdvanceTick();
295+ //var success = WaitForConditionOrTimeOutWithTimeTravel(() => PositionRotationScaleMatches(Vector3.zero, Quaternion.identity.eulerAngles, Vector3.one), 800);
296+ //Assert.True(success, $"Timed out waiting for initialization to be applied!");
296297
297298 // Test one parameter at a time first
298299 var newPosition = new Vector3 ( 55f , 35f , 65f ) ;
299300 var newRotation = Quaternion . Euler ( 1 , 2 , 3 ) ;
300301 var newScale = new Vector3 ( 2.0f , 2.0f , 2.0f ) ;
301302 m_NonAuthoritativeTransform . SetState ( newPosition , null , null , interpolate ) ;
302- success = WaitForConditionOrTimeOutWithTimeTravel ( ( ) => PositionsMatchesValue ( newPosition ) , 800 ) ;
303+ var success = WaitForConditionOrTimeOutWithTimeTravel ( ( ) => PositionsMatchesValue ( newPosition ) , 800 ) ;
303304 Assert . True ( success , $ "Timed out waiting for non-authoritative position state request to be applied!\n { VerboseDebugLog } ") ;
304305 Assert . True ( Approximately ( newPosition , m_AuthoritativeTransform . transform . position ) , "Authoritative position does not match!" ) ;
305306 Assert . True ( Approximately ( newPosition , m_NonAuthoritativeTransform . transform . position ) , "Non-Authoritative position does not match!" ) ;
0 commit comments