Search Issue Tracker
By Design
Votes
0
Found in
2021.3.34f1
2022.3.17f1
2023.2.6f1
2023.3.0b3
Issue ID
UUM-60216
Regression
No
UXML document's "Canvas Size" gets resized to 640 x 480 resolution when it is set to "Match Game View" and the UI Builder window is first docked and then maximized
Reproduction steps:
1. Create a new project
2. In the Project window, create a new UXML document by pressing the right-click > Create > UI Toolkit > UI Document
3. Open the newly created UXML document with the UI Builder
4. Select it in the Hierarchy of the UI Builder window
5. In the Inspector of the UI Builder window, check the “Match Game View” property under the “Canvas Size” category
6. Dock the UI Builder window anywhere in the Unity Editor
7. Observe the “Size” property above the “Match Game View” property (the Game view resolution and the “Size” of the UXML document should be matching)
8. At the top-right of the Editor section where the UI Builder window is docked, press the More Items (⋮) menu > Maximize
9. Observe the “Size” property again
Expected result: The “Size” property of the UXML document has not changed
Actual result: The “Size” property of the UXML document has changed to 640 x 480
Reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.6f1, 2023.3.0b3
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Note: Unmaximizing the UI Builder window returns the “Size” property of the UXML document back to matching the Game view
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note:
This is working as expected. When the UI Builder window is docked in the main application window, then maximized, the GameView window will be closed. The GameView window will then report a default size of 640 x 480.
The best way to avoid this is to keep the UI Builder undocked to maximize it.