Steps to reproduce:
1. Download and open the attached user's project "TestURPXR.zip"
2. Install https://mbucchia.github.io/OpenXR-Toolkit/
3. Launch OpenXR-Toolkit
4. Connect Oculus Link to Quest 2/3
5. Enter and exit Play Mode
Expected Results: Editor does not crash when using OpenXR-Toolkit
Actual Results: Editor crashes after exiting Play Mode with OpenXR-Toolkit running
Reproducible on: OpenXR 1.11.0 (2021.3.39f1, 2022.3.33f1, 6000.0.6f1)
Not reproducible on: OpenXR 1.10.0 (2021.3.38f1, 2022.3.32f1, 6000.0.2f1)
Reproducible with these devices:
VLNQA00609 - Oculus Quest 3 (Quest 3), CPU: Snapdragon XR2 Gen 2 (SM8550), GPU: Adreno 740, OS: 12
VLNQA00415 - Oculus Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650, OS: 12
Testing Environment: Windows 11
Not reproducible on: No other environment tested
Notes:
-Not reproducible with OculusXR Plugin
-Crash stack-trace:
0x00007FFD1153686A (Unity) GfxDeviceD3D11Base::SetViewportInternal
0x00007FFD12D18712 (Unity) GfxDeviceWorker::RunCommand
0x00007FFD12D263EC (Unity) GfxDeviceWorker::RunExt
0x00007FFD12D2651D (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FFD1119FF9D (Unity) Thread::RunThreadWrapper
0x00007FFDE048257D (KERNEL32) BaseThreadInitThunk
0x00007FFDE270AA48 (ntdll) RtlUserThreadStart