Skip to content

Commit 7d02134

Browse files
test
Not sure why these two SetState lerp interpolation tests are having issues as it passes in the editor but fails at runtime... most likely a timing related issue.
1 parent d7f14dc commit 7d02134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/NetworkTransform/NetworkTransformGeneral.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public void NonAuthorityOwnerSettingStateTest([Values] Interpolation interpolati
302302
var newRotation = Quaternion.Euler(1, 2, 3);
303303
var newScale = new Vector3(2.0f, 2.0f, 2.0f);
304304
m_NonAuthoritativeTransform.SetState(newPosition, null, null, interpolate);
305-
var success = WaitForConditionOrTimeOutWithTimeTravel(() => PositionsMatchesValue(newPosition), 120);
305+
var success = WaitForConditionOrTimeOutWithTimeTravel(() => PositionsMatchesValue(newPosition), 800);
306306
Assert.True(success, $"Timed out waiting for non-authoritative position state request to be applied!");
307307
Assert.True(Approximately(newPosition, m_AuthoritativeTransform.transform.position), "Authoritative position does not match!");
308308
Assert.True(Approximately(newPosition, m_NonAuthoritativeTransform.transform.position), "Non-Authoritative position does not match!");

0 commit comments

Comments
 (0)