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
- Post Processing SMAA breaks when HDR mode R11G11B10 is selected and Color Space is changed
- The "UnityWebRequest.result" of the "UnityWebRequestTexture.GetTexture" method changes when accessing "UnityWebRequest.downloadHandler" texture
- Slider rounding does not allow setting certain valid numbers as Values when Low and High Values not set to default
- UI Builder Canvas has too big resizing zone on the outside of the canvas
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
Resolution Note (fix version -):
Fixed in 2022.2.0a16