Search Issue Tracker
Fixed
Fixed in 6000.0.56f1, 6000.1.16f1, 6000.2.1f1, 6000.3.0a4
Votes
0
Found in
2021.3.54f1
2022.3.65f1
6000.0.54f1
6000.1.14f1
6000.2.0b12
6000.3.0a3
Issue ID
UUM-112721
Regression
No
UI Builder “Fit viewport” button zooms to fit Canvas instead of the selected Element
*Steps to reproduce:*
1. Create a project
2. Create UI Document (Create > UI Toolkit > UI Document)
3. Open UI Document
4. Add VisualElement to the Hierarchy
5. Change its size to big number (e.g. 10000)
6. Select VisualElement
7. Press “Fit viewport” button and observe
*Actual results:* Zoom is adjusted to fit Canvas
*Expected results:* Zoom is adjusted to fit selected VisualElement
*Reproducible with versions:* 2021.3.54f1, 2022.3.65f1, 6000.0.54f1, 6000.1.14f1, 6000.2.0b12, 6000.3.0a3
*Tested on (OS):* macOS Sequoia 15.4 (M4)
*Notes:* “Fit viewport” button tooltip message: “Adjusts the zoom to fit the selected content in the viewport.”
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quality Hackweek] Activated Terrain Inspector is active only until the terrain GameObject is deselected when two or more Inspectors are open
- Physics Used Memory keeps growing when GameObject colliders are enabled and disabled
- Errors are thrown and Inspector's UI element is not drawing when a GameObject with script component using a List<T> attached is selected
- ConfigurableJoint's parameters are not saved in the Prefab after Runtime Prefab baking
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
Add comment