Search Issue Tracker
Fixed in 1.0.0-preview.10
Votes
0
Found in [Package]
1.0.0-preview.9
Issue ID
1292203
Regression
No
[UI Builder] Canvas size doesn't adjust in the Viewport on changing its Width and Height using mouse dragger from the Inspector
On changing Canvas Width and Height using mouse dragger in the Inspector, size of Canvas not getting adjust runtime, Refer attached video.
Steps to repro:
1. Create a new project
2. Window > UI Toolkit > UI Builder
3. Select Canvas in the Viewport
4. Change Width and Height using mouse dragger
Actual Result:
Canvas size not getting change runtime in the Viewport when its Width and Height is changed using mouse dragger
Expected Result:
Canvas size should be change runtime gracefully
Note:
1. UI Toolkit package introduced in the Unity 2020.1.0b12
2. UI toolkit is the core package from 2021.1.0a5
3. When width and height change by mouse dragger, changes are reflected to canvas on releasing the mouse dragger button
Reproducible in:
2021.1.0a5, 2020.2.0b11, 2020.1.12f1, 2020.1.0b12with package version 1.0.0-preview.9, 1.0.0-preview.1, 0.11.2-preview
Environment:
Occurring on Windows 10 & macOS 10.15.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment