Skip to content

Commit 5447ec7

Browse files
authored
Fix compilation errors with XR automated tests on some platforms (#4155)
1 parent 27319c2 commit 5447ec7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

com.unity.testing.xr/Runtime/ConfigureMockHMD.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
using System.Collections.Generic;
33
using UnityEngine;
44
using UnityEngine.Rendering;
5+
6+
#if ENABLE_VR && USE_XR_MOCK_HMD
57
using UnityEngine.XR;
8+
#endif
69

710
namespace Unity.Testing.XR.Runtime
811
{

0 commit comments

Comments
 (0)