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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
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.