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
- UI Builder Project Library foldouts do not open when pressed on the foldout name
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
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.