Search Issue Tracker
Fixed in 2021.3.38f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 6000.0.X, 7000.0.0a10, future release
Votes
0
Found in
2020.3.44f1
2021.3.17f1
2022.2.5f1
2023.1.0b2
6000.0.0b11
Issue ID
UUM-25738
Regression
No
[UI Toolkit] Dimensions of a parent element do not include padding when used in anchors of an absolute positioned children element
How to reproduce:
1. Open the user’s attached “PaddingBug.zip” project
2. Enter Play Mode and observe the result
Expected result: Blue square is at the bottom right of a red square
Actual result: Blue square is on top of a red square
Reproducible with: 1.0.0-preview.18 (2020.3.44f1), 1.0.0 (2021.3.18f1, 2022.2.5f1, 2023.1.0b2)
Reproduced on: macOS 12.4 (Intel)
Note: Reproduced in the Editor and in the Standalone macOS Player
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Add comment