Search Issue Tracker
Active
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
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Add comment