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
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
- Crash on MarkAllDependencies when opening scenes with Assets from the YarnSpinner package
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.