How to reproduce:
- Open attached project "IN-145267"
- Open "Assets/Scenes/SampleScene.unity" and launch SteamVR
- Set SteamVR as "Play Mode OpenXR Runtime" in the OpenXR Settings
- Connect Meta Link to Quest 2/3/3S and enter Play mode
- Observe the crash
Reproducible with: 1.11.0-exp.1 (6000.0.2f1), 1.18.0-pre.2 (6000.0.78f1, 6000.3.18f1, 6000.5.1f1, 6000.6.0b1, 6000.7.0a1)
Not reproducible with: 1.10.0 (6000.0.2f1)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note:
-IF setting the Meta Compatibility setting to ON in SteamVR Developer Settings, there is no crash
-With OpenXR 1.10.0, crash still occurs but only the second stack trace is outputted
-There are 2 separate stack traces that are outputted based on these configurations:
-setting "Play Mode OpenXR" in Editor as SteamVR but OculusXR runtime still remains set as the runtime. SteamVR is NOT set as the runtime in SteamVR Developer settings - first stack trace
-setting the "Current OpenXR Runtime" as SteamVR in SteamVR Developer settings and Play Mode OpenXR runtime is set as default - second stack trace
-Also reproducible in Player
-Only reproducible with Vulkan as the Graphics API
Stack trace 1:
0x00007FFB031E94E0 (OVRPlugin) UnityPluginUnload
0x00007FFB7E05D015 (UnityOpenXR) main_UnloadOpenXRLibrary
0x00000231281547C7 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.XR.OpenXR.OpenXRLoaderBase:Internal_PumpMessageLoop ()
0x0000023128154703 (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.openxr\Runtime\OpenXRLoader.cs:306] UnityEngine.XR.OpenXR.OpenXRLoaderBase:ProcessOpenXRMessageLoop ()
Stack-trace 2:
0x00007FFAF6439DC5 (OVRPlugin) UnityPluginUnload
0x00007FFB08238533 (UnityOpenXR) session_SetSuccessfullyInitialized
0x00007FFB08238345 (UnityOpenXR) session_SetSuccessfullyInitialized
0x00007FFB08205B24 (UnityOpenXR) unity_ext_RequestEnableExtensionString
0x00007FFB0821E1F6 (UnityOpenXR) messagepump_PumpMessageLoop