Search Issue Tracker
Fixed in -
Votes
0
Found in [Package]
-
Issue ID
1351235
Regression
No
Button padding resets when Aspect ratio is changed
How to reproduce:
1. Open the attached project "Repro.zip"
2. Open Assets/Scenes/Prototype Scene 2_UIT.unity
3. Enter Play Mode
4. Change Aspect ratio to "16:9 Aspect" in the Game view
Expected results: At the bottom of the Game view "Building" and "Units" Buttons' padding stays the same
Actual results: At the bottom of the Game view "Building" and "Units" Buttons' padding resets to 0
Reproducible with: 1.0.0-preview.14, 1.0.0-preview.15 (2020.3.17f1, 2021.1.18f1), 2021.2.0b7, 2022.1.0a5
Could not test with: 2019.4.29f1 (UI Toolkit unavailable)
Notes: Hovering over a Button with a mouse fixes the issue
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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (fix version -):
Fixed in 2022.2.0a16