Search Issue Tracker

By Design



Found in [Package]


Issue ID




[UI Builder] Game view resolution changes to 640x480 when the UI Builder window is docked and maximized

Package: UI Builder


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)

  1. 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.

Comments (1)

  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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.