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
- 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
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.