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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment