Search Issue Tracker

Fixed

Fixed in 2022.2.21f1, 2023.1.0b18, 2023.2.0a16

Votes

0

Found in

2022.2.18f1

2023.1.0b16

2023.2.0a14

Issue ID

UUM-34955

Regression

Yes

UI Toolkit Debugger will not change the units of measurement to px when entering value without specified units for the first time

--

-

Reproduction steps:
1. Open the attached project “UIDebuggerBug“
2. Open the Package Manager (Window>Package Manager)
3. Select the Unity Registry tab
4. Select the 2D package
5. Open the UI Toolkit Debugger (Ctrl+F5)
6. Press the button Pick Element
7. Press on the Release element (below the 2D package title)
8. Replace any value that is set to “auto” with a numeric value

Expected result: The numeric value is applied, the “px” measurement is added
Actual result: “auto” value is reassigned

Reproducible with: 2022.2.0a15, 2022.2.18f1, 2023.1.0b16, 2023.2.0a14
Not reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.0a14

Reproducible on: Windows 11

Note: In Unity 2023.2.0a9 and above the size measurements cannot be changed unless the measurement is specified

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.