Search Issue Tracker
Fixed
Fixed in 2.1.2, 2.2.1, 2.3.0-pre.1
Votes
0
Found in [Package]
2.1.0
2.2.0
2.3.0-pre.1
Issue ID
MOXRB-151
Regression
No
Installing Unity OpenXR Meta Package throws "NullReferenceException" error
*Steps to reproduce:*
1. Create new Unity project
2. Install "com.unity.xr.meta-openxr" package using Package Manager
3. Once installed, observe the Console window
*Actual results:* Error - NullReferenceException: Object reference not set to an instance of an object
UnityEngine.XR.OpenXR.Features.Meta.OpenXRLifeCycleFeature.TryRefreshEnabledStateForBuildTarget (UnityEditor.BuildTargetGroup buildTarget, UnityEditor.TypeCache+TypeCollection metaOpenXRFeatureTypes) (at ./Library/PackageCache/com.unity.xr.meta-openxr@2d2df5677d2f/Runtime/OpenXRLifeCycleFeature.cs:60)
UnityEngine.XR.OpenXR.Features.Meta.OpenXRLifeCycleFeature.TryRefreshEnabledState () (at ./Library/PackageCache/com.unity.xr.meta-openxr@2d2df5677d2f/Runtime/OpenXRLifeCycleFeature.cs:44)
UnityEngine.XR.OpenXR.Features.Meta.OpenXRLifeCycleFeature+<>c__DisplayClass4_0.<GetRefreshMethodWithRemainingRetries>b__0 () (at ./Library/PackageCache/com.unity.xr.meta-openxr@2d2df5677d2f/Runtime/OpenXRLifeCycleFeature.cs:52)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <966ba44edc314da3aa4f8ea2922f1849>:0) - is thrown in the Console after install
*Expected results:* No errors thrown in the Console after installing package
*Reproducible with versions:* 2.2.0 (6000.0.54f1, 6000.1.14f1, 6000.2.0b12, 6000.3.0a3)
*Tested on (OS):* Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment