Reproduction steps:
1. Open user attached project "VR-Screenshake-Test.zip"
2. Make sure no VR headset is connected to the computer
3. Enter Play mode
Expected result: Error message that Headset is not connected
Actual result: Crash
Reproduced with: 1.5.3 (2023.1.0a21), 1.6.0 (2020.3.34f1, 2021.3.16f1, 2022.1.24f1, 2022.2.2f1, 2023.1.0a24)
Reproducible on: Windows 11
First few lines of the stack trace::
0x00007FFD84BFA502 (UnityOpenXR) session_RequestExitSession
0x00007FFD84BF9823 (UnityOpenXR) session_RequestExitSession
0x00007FFD84BCE073 (UnityOpenXR) DiagnosticReport_StartReport
0x00007FFD84BCD500 (UnityOpenXR) DiagnosticReport_StartReport
0x00007FFD8B9C46CA (Unity) Subsystem::InitializePlugin
Note:
- Crashes in builds as well