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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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.