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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.