Search Issue Tracker
Fixed
Fixed in 2023.2.X, 2023.2.0a18
Votes
0
Found in
2023.2.0a1
Issue ID
UUM-27164
Regression
No
[UI Toolkit] Fit Canvas doesn’t fit the canvas when Match Game View enabled
Repro:
- Import the attached UXML file to an empty project.
- Set Game View resolution to Full HD.
- Open imported UXML file in UI Builder.
- In UI Builder, select the Canvas and ensure ‘Match Game View’ is enabled in the UI Builder inspector.
- Click ‘Fit Canvas’ in the inspector.
Expected Outcome: The zoom is adjusted and the canvas is centered so that the full canvas is visible in the viewport.
Actual Outcome: The zoom is always set to 100 and the canvas is too large to be viewed in its entirety. Have to manually adjust zoom and readjust positioning to fit the canvas to the viewport.
Attached GIF of this to the ticket.
Tested on Windows 10. Could not find the UI Builder in 1.0.0-preview.18 with 2020.3.41f1 and this reproduces in 2021.3.18f1 so marking as not a regression.
Have not extensively regression tested the issue - please contact the assigned ticket reporter if you need further testing or information.
!image-2023-02-14-14-26-49-625.png|width=522,height=379!
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2023.2):
Verified in PR