Search Issue Tracker

Active

Under Consideration for 4.5.X

Votes

0

Found in [Package]

4.5.1

Issue ID

XRMB-126

Regression

No

NullReferenceException Error is logged when selecting the OpenXR Settings panel in Project Settings right after installing it from the XR Plug-In Management panel

Package: XR Management

-

*Steps to reproduce:*
# Create any Project
# Navigate to Project Settings > XR Plug-in Management
# Install the XR Plug-in Management Package
# Enable the OpenXR Plug-in
# Select the "OpenXR" Settings panel on the left hand side of the Project Settings Window

*Actual results:* Error "NullReferenceException: Object reference not set to an instance of an object
UnityEditor.XR.Management.XRConfigurationProvider.OnGUI (System.String searchContext) (at ./Library/PackageCache/com.unity.xr.management@20be87dea580/Editor/XRConfigurationProvider.cs:103)" is logged the first time the OpenXR Settings panel is selected in the Project Settings

*Expected results:* No Error is logged

*Reproducible with versions:* 4.5.1 (2022.3.61f1, 6000.1.0b14, 6000.2.0a8)

*Not reproducible with versions:* 4.5.1 (6000.0.45f1) (Couldn't reproduce it here with the same Package version)

*Tested on (OS):* Windows 11

*Note:* Error is clearable and doesn't appear again after selected the Settings panel a second time, but might reproduce if the Panel is selected before closing and reopening the Editor

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.