How to reproduce:
1. Open the attached project "IN-113490"
2. Enable Meta XR Simulator
3. Enter Play mode
4. Observe the crash
Expected result: Meta XR Simulator opens
Actual result: Unity crashes
Reproducible with: 1.13.0 (6000.3.0a6), 1.16.0-pre.1 (2023.1.0b1, 6000.0.55f1, 6000.2.0f1 (eed1c594c913), 6000.3.0a6)
Could not test with: 1.10.0 (6000.3.0a6) (below minimum OpenXR version), 1.16.0-pre.1 (2023.1.0a1) (Meta XR Simulator package errors)
Reproducible on: macOS Sequoia 15.3
Not reproducible on: Windows 11 Enterprise
Notes:
-Reproducible with Meta XR Simulator 77.0.0
-Crash only occurs 1st time after opening the project
First few lines of the stack trace:
at <unknown> <0xffffffff>
at UnityEngine.SubsystemBindings:DestroySubsystem <0x00007>
at UnityEngine.IntegratedSubsystem:Destroy <0x00027>
at UnityEngine.XR.Management.XRLoaderHelper:DestroySubsystem <0x000a3>
at UnityEngine.XR.OpenXR.OpenXRLoaderBase:DestroySubsystem <0x00023>