Search Issue Tracker
Feature Request
Votes
0
Found in
2021.3.8f1
2022.1.12f1
2022.2.0b5
2023.1.0a6
Issue ID
UUM-12864
Regression
No
Adding a child VisualElement to a Label breaks the Label's world bounds
Reproduction steps:
- Open the user's attached project
- Enter Play mode and observe Game View
- Exit Play mode
- Select “UIDocument” GameObject in the Hierarchy
- Toggle “Add Child to Label” on
- Enter Play mode and observe Game View
Expected result: Red background fills the Label bounds and a child is added to it
Actual result: Red background no longer fills the Label space and conforms to the cyan square child
Reproduced with: 2021.3.8f1, 2022.1.12f1, 2022.2.0b5, 2023.1.0a6
Could not test with: 2020.3.38f1 (because UI Toolkit is a preview package)
Reproducible on: macOS 12.4 (Intel)
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
This is not supported at the moment but it is on the roadmap.