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
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment