Search Issue Tracker
Fixed
Fixed in 1.16.0-pre.2
Votes
0
Found in [Package]
1.16.0-pre.2
Issue ID
OXRB-645
Regression
No
Crash on Subsystem::ShutdownPlugin when manually initializing XR loader with Display Subsystems already created
How to reproduce:
1. Open the attached “IN-90103.zip” project
2. Open the “XRToggleTestScene”
3. In the Hierarchy window, delete the “XR Origin (XR Rig)” GameObject (Missing prefab error)
4. In the Hierarchy window, select the “XR Manager” GameObject
5. In the Inspector window, toggle the “Cfg XR” field ON for the “XR Manager” script component
6. Enter Play Mode
7. Observe the crash
Reproducible in: 1.11.0, 1.13.2 (2021.3.47f1, 2022.3.55f1, 6000.0.31f1, 6000.1.0a8)
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
First few lines of stacktrace from Editor.log:
{noformat}0x00007FFD6985E11D (UnityOpenXR) DiagnosticReport_StartReport
0x00007FFD6549D470 (Unity) Subsystem::ShutdownPlugin
0x00007FFD656831E9 (Unity) XRDisplaySubsystem::Shutdown
0x00007FFD6549CB23 (Unity) SubsystemBindings::DestroySubsystem
0x00007FFD63FFF187 (Unity) SubsystemBindings_CUSTOM_DestroySubsystem{noformat}
First few lines of stacktrace from Player.log:
{noformat}0x00007FFC81EAE11D (UnityOpenXR) DiagnosticReport_StartReport
0x00007FFBD8E17A20 (UnityPlayer) UnityMain
0x00007FFBD8F309D9 (UnityPlayer) UnityMain{noformat}
Note: Also reproducible in Player
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 1.16.0-pre.2):
Added null checks that handle call attempts to the OpenXR plugin display subsystem callbacks before the plugin is initialized.