Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2020.3
2021.1
2021.2
2021.2.0a9
Issue ID
1322550
Regression
Yes
[UI Toolkit] UI Control size values increase after setting Windows Display Scaling to 150% and resizing the Control
How to reproduce it:
1. Open Windows Display Settings and set the UI Scaling to 150%
2. Open the user's attached project "URP Testing.zip"
3. Double-click on "NewUXMLTemplate.uxml" file to open a UI Builder view
4. Replace an existing VisualElement with a new one
5. In the UI Builder's Viewport resize the VisualElement by dragging its corner
6. In the UI Builder's Inspector view observe the VisualElement's size fields
Expected result: The values remain small and don't jump to very high numbers
Actual result: The values suddenly become very high
Reproducible with: 1.0.0-preview.8 (2020.3.2f1), 1.0.0-preview.14 (2021.1.0f1), Built-in UI Toolkit (2021.1.0f1, 2021.2.0a10)
Not reproducible with: 1.0.0-preview.7 (2020.3.2f1)
Could not test with: 2018.4.33f1, 2019.4.23f1 (UI Toolkit is not introduced yet)
Notes:
- Not reproducible the first time, need to repeat 5 and 6 steps few times
- Not reproducible when UI Scaling is 100%
- Only reproducible, when VisualElement's size values are in 'px'
- In 2020.3.2f1 used an UI Builder (1.0.0-preview.13), and in 2021.1.0f1, 2021.2.0a10 versions used Built-in UI Builder and UI Builder package (1.0.0-preview.13)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Add comment