Skip to content

Commit 4e932c4

Browse files
authored
Increased the frame wait timer to account for Holographic Remoting latency (#9879)
* Increased the frame wait timer to account for Holographic Remoting latency * Small adjustment to unit test timing * fixed typo
1 parent 83005d8 commit 4e932c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/MRTK/Core/Utilities/SceneContent/MixedRealitySceneContent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private enum AlignmentType
3434
private Transform containerObject = null;
3535

3636
private Vector3 contentPosition = Vector3.zero;
37-
private const uint MaxEditorFrameWaitCount = 5;
37+
private const uint MaxEditorFrameWaitCount = 15;
3838
private Coroutine initializeSceneContentWithDelay;
3939

4040
private void Awake()

Assets/MRTK/Tests/PlayModeTests/PointerBehaviorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public IEnumerator TestTeleportAndContentOffset()
253253

254254
PlayModeTestUtilities.Setup(profile);
255255

256-
yield return PlayModeTestUtilities.WaitForInputSystemUpdate();
256+
yield return new WaitForSeconds(0.5f);
257257

258258
// Ensure that the SceneContent object is contentOffset units above the origin
259259
Assert.AreEqual(GameObject.Find("MixedRealitySceneContent").transform.position.y, contentOffset, 0.005f);

0 commit comments

Comments
 (0)