Search Issue Tracker
By Design
Votes
0
Found in
2022.1.0b4
Issue ID
1397430
Regression
No
[UI Builder] w/ UI canvas set to Match Game View size & UI elements set to use px sizes, Game View on high DPI display upscaled
Steps to reproduce:
1. Open attached project (test-uitoolkit.zip)
2. Open 'Sample Scene'
3. Make sure that your Game View uses 1920x1080 resolution & that Canvas size in Test.uxml is set to 'Match Game View'
4. Open your Game View window in a High DPI monitor (for example the MacBook Pro display)
Expected behaviour: UI shouldn't be in the middle of the screen, same as seen in UI builder.
Actual behaviour: UI elements are upscaled (see attached screenshot)
Notes:
This can also be observed happening when any editor window focuses from regular to high DPI display, not necessarily the Game View (see attached gif)
Doesn't happen on smaller external displays.
Doesn't happen if the parent VisualElement in Test.uxml is set up to take up 100% of Canvas width & height (instead of using pixel sizes).
Reproduced with: 2022.1.0b4
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Resolution Note (2022.1.X):
Runtime panel settings have not been integrated in the UI Builder just yet. We have converted this issue report into a feature request for a future editor release.