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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment