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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
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.