Unity Issue Tracker - UI picking is offset to the left when Reference DPI and Fallback DPI differ
Open
UUM-125245
UI picking is offset to the left when Reference DPI and Fallback DPI differ
Unity: UI Toolkit Framework
Linux
Open
6.7.X
6.6.X
6.5.X
6.4.X
6.3.X
6.0.X
Won't Fix
6.2.X
Unity 6000.2 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
Reproduction steps:
1. Open the attached “IN-119589” project
2. Select the “--UI/panel settings” in the Project window
3. Make sure “Reference DPI” is 96 and “Fallback DPI” is 120 in the Inspector window
4. Open the “--Scenes/Main” Scene
5. Enter the Play Mode
6. Hover the cursor over the UI elements on the right side of the Game view
7. Observe the in-game “picker” position
Expected result: The “picker” stops exactly at the edge of the UI, correctly matching the rendered layout
Actual result: The “picker” stops further away and re-enables on the UI, as if the UI elements are shifted left (the hit-testing area is offset horizontally)