Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2020.2
2020.3
2021.2
2021.2.0a11
Issue ID
1330817
Regression
No
[UIR] UI Toolkit Image content is off by one pixel when the Scalling in the OS Display Settings is set to 150%
How to reproduce:
1. Open the user's attached project
2. Enter the Play mode
3. Observe the sides of the image displayed in the Game view
Expected result: The image content is aligned correctly
Actual result: The image content is off by one pixel
Reproducible with: UI Tookit 1.0.0-preview.11 (2020.2.7f1, 2020.3.5f1), 1.0.0-preview.13 (2020.2.7f1, 2020.3.5f1), 2021.2.0a14
Cannot test with: 2018.4.34f1, 2019.4.25f1 (the package is not supported), 1.0.0-preview.9 (2020.2.7f1) (package errors), 1.0.0-preview.14 (2020.3.5f1, 2021.1.5f1) (the UI Toolkit broke the UI)
Notes:
- The issue is not reproducible when the scaling is not 150%
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
- The text is pushed down when double-clicking on the Visual Element to edit it in UI Builder
- The Inspector rounds up float values up to a maximum of 7 digits and overwrites the actual values in the file when saving the asset
- Distant Shadowmask does not cast Shadows on Terrain when baking with Adaptive Probe Volumes
- UI Toolkit Debugger "Text Overlays" dropdown is opened in the wrong position when Dynamic Atlas Viewer is opened
- NullReferenceExceptions are thrown on Editor launch when the Project window was locked in the previous project
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a5