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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.