Search Issue Tracker
By Design
By Design in 2023.2.X
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
- Scaled Backgrounds List and dropdown text are enabled while Scaled Backgrounds field is disabled in IMGUI Debugger window
- Editor crashes when large value is entered in Scaled Backgrounds field of IMGUI Debugger window
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
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.
Resolution Note (2023.2.X):
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.