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 0f60b07 commit 7f28c80Copy full SHA for 7f28c80
org.mixedrealitytoolkit.input/Visualizers/PlatformHandVisualizer/PlatformHandMeshVisualizer.cs
@@ -48,7 +48,7 @@ protected override void OnEnable()
48
propertyBlock ??= new MaterialPropertyBlock();
49
50
#if UNITY_OPENXR_PRESENT
51
- if (UnityEngine.XR.OpenXR.OpenXRRuntime.IsExtensionEnabled("XR_ANDROID_hand_mesh"))
+ if (UnityEngine.XR.OpenXR.OpenXRRuntime.IsExtensionEnabled("XR_ANDROID_hand_mesh") && (meshSubsystem == null || !meshSubsystem.running))
52
{
53
List<XRMeshSubsystem> meshSubsystems = new List<XRMeshSubsystem>();
54
SubsystemManager.GetSubsystems(meshSubsystems);
0 commit comments