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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
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.