Search Issue Tracker
By Design
Votes
0
Found in [Package]
Build-in
Issue ID
1396782
Regression
No
[UI Builder] Game view resolution changes to 640x480 when the UI Builder window is docked and maximized
Reproduction steps:
1. Open the user's attached project
2. Open Assets > UI > UXML_Title
3. Dock the UI Builder tab next to the Scene and Game view tabs
4. In the UI Builder Hierarchy, select "UXML_Title.uxml"
5. In the UI Builder Inspector enable and disable "Match Game View"
6. Maximize UI Builder
7. In the UI Builder Inspector enable and disable "Match Game View"
Expected result: "Size" is the same before and after enabling "Match Game View"
Actual result: "Size" is set to 640x480 after enabling "Game View"
Reproduced with: 1.0.0-preview.18 (2019.4.32f1, 2020.3.30f1), Build-in (2021.2.13f1, 2022.1.0b9, 2022.2.0a5)
Comments (1)
-
Nanaschi
Mar 08, 2023 15:08
I doubt that it's the expected behavior to undock "Game" tab to get the correct resolution automatically
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:
Notes from developer: When the "Match Game View" option is enabled, we query the Game View for its size. When the "Maximize" option for an EditorWindow is selected, it will close other windows and set that window to take all the available space. In that case, the Game View does not exist anymore and querying its size will return the "default" value, which is (640, 480).
To get the UI Builder to take all the available space without closing the Game View, first un-dock and then maximize.