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)
-
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
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
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.