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
- Crash on DynamicHeapAllocator::CreateTLSFBlock when opening a specific project
- Scene flickers when using Mesh Output with SpriteLit Shader in 2D project
- “Cache Management” text is misaligned in Preferences > Package Manager
- [macOS] network permission shows the name of previously closed app when different app requests network access
- Delta value returned by mouse movementsMonitor is different when changing Screen Resolution
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.