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
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
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.