We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924ba8b commit 64db056Copy full SHA for 64db056
Assets/MRTK/Providers/OpenXR/Scripts/OpenXREyeGazeDataProvider.cs
@@ -101,6 +101,7 @@ public override void Enable()
101
{
102
if (!IsActiveLoader)
103
104
+ Debug.LogWarning($"{Name} requires Unity's OpenXR Plugin to be installed.");
105
IsEnabled = false;
106
return;
107
}
@@ -124,10 +125,6 @@ private void ReadProfile()
124
125
126
127
SmoothEyeTracking = profile.SmoothEyeTracking;
-
128
-#if !UNITY_OPENXR
129
- Debug.LogWarning("OpenXR Eye Tracking Provider requires Unity's OpenXR Plugin to be installed.");
130
-#endif // !UNITY_OPENXR
131
132
133
private static readonly ProfilerMarker UpdatePerfMarker = new ProfilerMarker("[MRTK] OpenXREyeGazeDataProvider.Update");
0 commit comments