Search Issue Tracker
Fixed
Fixed in 2021.3.31f1, 2022.3.7f1, 2023.1.8f1, 2023.2.0b4, 2023.3.0a1
Votes
0
Found in
2021.3.29f1
2022.3.6f1
2023.1.6f1
2023.2.0b2
2023.3.0a1
Issue ID
UUM-44453
Regression
No
Padding property value order is different compared to the USS property documentation when assigning values in the UI Builder Padding shorthand notation field
Reproduction steps:
1. Open the attached "CSS" project
2. Open the “Assets/Document.uxml” file
3. In the UI Builder Hierarchy window, click the “One” VisualElement
4. In the Inspector window, click the drop-down arrow next to Spacing
5. Click the drop-down arrow next to Padding
6. Observe the “1px 2px 3px 4px” Padding values
Expected result: Values are assigned the same way they are documented in the USS property documentation “Top: 1px, Right: 2px, Bottom: 3px, Left: 4px”
Actual result: Values are assigned “Left: 1 px, Right: 2px, Top: 3px, Bottom: 4px”
Reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.6f1, 2023.2.0b2
Reproducible on: macOS Ventura 13.4.1 (M1 Max)
Note: In Unity version 2021.3.29f1, 2022.3.6f1, 2023.1.6f1 step 5. the “Spacing” name is “Margin & Padding”.
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2023.3.0a1):
Fixed UUM-39648 @guillaume-riendeau:
UI Toolkit: Fixed exception thrown when adding a hidden column to a multi column control.