Search Issue Tracker
By Design
Votes
0
Found in
2021.3.20f1
2022.2.10f1
2023.1.0b7
2023.2.0a5
Issue ID
UUM-29192
Regression
No
[UI Builder] Warnings are thrown in the console when changing background's Slice value
How to reproduce:
1. Open the attached "repro_project.zip" project
2. Open UI/CauldronUI/CauldronMainUI.uxml
3. Select the Cauldron component in the hierarchy
4. Change Background > Slice value to '2'
Expected result: No warnings
Actual result: Override warning is thrown for each value change
Reproducible with: 2021.3.20f1, 2022.2.10f1, 2023.1.0b7, 2023.2.0a5
Warning:
Sprite "Magic House Cauldron " borders (33.00, 38.00, 39.00, 40.00) are overridden by style slices (2.00, 2.00, 2.00, 2.00)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
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
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
Resolution Note:
Both the asset slices and the style slices are defined. We need to warn the user that the final result might not be what is expected.
To avoid this warning, unset borders on the sprite in the Sprite Editor and let the uss styling drive the slicing.