Search Issue Tracker


Fixed in 2023.2.0a18



Found in


Issue ID




[UI Toolkit] Fit Canvas doesn’t fit the canvas when Match Game View enabled



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


  1. Resolution Note (fix version 2023.2.0a18):

    Verified in PR

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.