Search Issue Tracker
Fixed
Fixed in 2.1.2
Votes
0
Found in [Package]
2.1.1
Issue ID
XRMRT-84
Regression
Yes
Build fails with error “... The type or namespace name 'Meta' does not exist in the namespace 'UnityEngine.XR.OpenXR.Features’…” when building Mixed Reality template project
Steps to reproduce:
1. Create a Mixed Reality template project
2. Build the project
3. Observe the Console
Actual results: Build fails with error
{code:java}
Assets\MRTemplateAssets\Scripts\OcclusionManager.cs(5,38): error CS0234: The type or namespace name 'Meta' does not exist in the namespace 'UnityEngine.XR.OpenXR.Features' (are you missing an assembly reference?){code}
Expected results: Build is successful
Reproducible with versions: 2.1.1 (6000.0.20f1, 6000.0.47f1, 6000.1.0f1, 6000.2.0a9)
Not reproducible with versions: 1.1.1 (2022.3.61f1)
Cannot reproduce with versions: 2021.3.51f1 (no Mixed Reality template), 6000.0.19f1 (package errors)
Tested on (OS): macOS Sequoia 15.3.1 (Intel), Windows 11, Windows 10
Note: Couldn't find FAV due to errors from 6000.0.19f1 and below
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2.1.2):
Fixed a compiler issue when building for standalone (Windows or MacOS) where the Unity Meta Open XR package assembly is not available, which is currently only on Android-based platforms or in the Unity Editor.