Search Issue Tracker
Fixed
Fixed in 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
- 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 (fix version 2023.2.0a18):
Verified in PR