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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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.