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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.