Search Issue Tracker
Fixed in 2021.3.31f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X, 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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note (fix version 2023.3):
Fixed UUM-39648 @guillaume-riendeau:
UI Toolkit: Fixed exception thrown when adding a hidden column to a multi column control.