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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Add comment