Steps to reproduce:
1. Open the attached user's project "CoreCLRTesting.zip"
2. Switch to Windows platform
3. Make sure the Scripting backend is set to CoreCLR
4. Connect a Quest 2/3/3S headset to Meta Link
5. Build "Assets/Samples/XR Interaction Toolkit/3.6.0-pre.1/World Space UI/DemoScene.unity" Scene
Actual result: player crashes
Expected result: player does not crash
Reproducible with: 6000.7.0a3
Unable to test on 6000.0.80f1, 6000.3.21f1, 6000.5.6f1, 6000.6.0b6, 6000.7.0a1 due to CoreCLR module/backend not being available
Reproducible with these devices:
VLNQA00609 - Oculus Quest 3 (Quest 3), CPU: Snapdragon XR2 Gen 2 (SM8550), GPU: Adreno 740, OS: 14
VLNQA00644 - Oculus Quest 3S (Quest 3S), CPU: Google Tensor G2, GPU: Adreno 740, OS: 14
VLNQA00415 - Oculus Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650, OS: 14
Testing Environment: Windows 11
Not reproducible on: no other environment tested
Notes:
-Meta Link is mandatory to be enabled so that the crash is reproducible
-Tested with OpenXR 1.18.0-pre.2
-Editor Play Mode is not affected
-Stacktrace:
0x00007FFF4C397B74 (coreclr) (function-name not available)
0x00007FFF4C489C1E (coreclr) mono_thread_current
0x00007FFF4B0FC328 (UnityOpenXR) session_RequestExitSession
0x00007FFF4B0E996B (UnityOpenXR) main_UnloadOpenXRLibrary
0x00007FFEEF1F5818 (Unity.XR.OpenXR) instance void UnityEngine.XR.OpenXR.OpenXRLoaderBase::ProcessOpenXRMessageLoop()
0x00007FFEEF1F53BB (UnityEngine.CoreModule) void UnityEngine.BeforeRenderHelper::Invoke()