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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.