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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a5