Reproduction steps:
1. Open user attached project "VR-Crash-Test.zip"
2. Make sure Oculus app is turned on
3. Disconnect headset from computer
4. Enter Play mode
Expected result: Error message, that headset is not connected
Actual result: Crash
Reproduced with: 1.6.0 (2022.2.10f1), 1.7.0 (2022.2.17f1, 2023.1.0b14, 2023.2.0a12)
Could not test with: 2020.3.47f1, 2021.3.24f1 (issue with “UnityObjectAddedBroadcaster.cs” script)
Reproducible on: Windows 10
Note: Reproduces also in Player
First few stack frames:
UnityEngine.XR.OpenXR.OpenXRLoaderBase:Internal_PumpMessageLoop <0x000cd> UnityEngine.XR.OpenXR.OpenXRLoaderBase:ProcessOpenXRMessageLoop <0x0023a> UnityEngine.XR.OpenXR.OpenXRLoaderBase:Deinitialize <0x00392>
UnityEngine.XR.OpenXR.OpenXRLoaderBase:Initialize <0x0062b>
Favro link: https://favro.com/organization/c564ede4ed3337f7b17986b6/7d68353be445fc2630fc1f1c?card=Uni-360392