Search Issue Tracker
Fix In Review
Votes
0
Found in
2.2.2
Issue ID
UUM-132977
Regression
No
Warnings are thrown after building Mixed Reality template
Reproduction steps:
1. Create a new Mixed Reality template project
2. Build the project
3. Observe the Console
Actual result: “Assets/MRTemplateAssets/Scripts/OcclusionManager.cs(67,14): warning CS0414: The field 'OcclusionManager.m_HandRemovalEnabled' is assigned but its value is never used” warning is thrown
Expected result: No errors or warnings are thrown
Reproducible with: 6000.0.66f1, 6000.3.6f1, 6000.4.0b6, 6000.5.0a5
Reproduced on: Windows 11, macOS Sequoia 26.2 (M4)
Note:
Additional warnings are thrown in 6000.4.0b6:
{code:java}
Assets/MRTemplateAssets/Scripts/ARBoundingBoxDebugVisualizer.cs(149,30): warning CS0618: 'Object.FindFirstObjectByType<T>()' is obsolete: 'FindFirstObjectByType has been deprecated because it relies on instance ID ordering. Use FindAnyObjectByType instead, which does not depend on ordering.' {code}
{code:java}
Assets/MRTemplateAssets/Scripts/GazeTooltips.cs(32,30): warning CS0618: 'Object.FindFirstObjectByType<T>()' is obsolete: 'FindFirstObjectByType has been deprecated because it relies on instance ID ordering. Use FindAnyObjectByType instead, which does not depend on ordering.'
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment