Search Issue Tracker
Fixed
Fixed in 6000.0.60f1, 6000.2.7f1, 6000.3.0b5, 6000.4.0a2
Votes
0
Found in
2022.3.61f1
6000.0.47f1
6000.1.0f1
6000.2.0a9
6000.3.0a1
Issue ID
UUM-103876
Regression
No
Vertical Layout Group doesn't maintain proper spacing when nested UI elements change size at runtime
How to reproduce:
1. Open the attached “IN-99380” project
2. Open the “SampleScene“
3. Enter Play mode
4. Using the left mouse button, click at least three times in the Game view
5. Observe the results in the Game view
Expected result: “DirectElement(Clone)” and “NestedElement(Clone)” GameObjects change size while maintaining space between them
Actual result: "NestedElement(Clone)" doesn't maintain proper spacing, and elements overlap each other when changing size
Reproducible with: 2022.1.0a10, 2022.3.61f1, 6000.0.47f1, 6000.1.0f1, 6000.2.0a9
Reproducible on: MacOS 15.3 (M4), Windows 11 (by user)
Not reproducible on: No other environments tested
Notes:
- Reproducible in Standalone Player
- The “DirectElement” and “NestedElement” prefabs use the “DynamicElement.cs“ script for size changes
- The “NestedElement” prefab has the “Image” component on its child object
- The “DirectElement” prefab has the “Image” component directly on it
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default state” name in Inspector is not truncated when given longer name for “New State” in Animator window
- Upgrading HDRP Project causes the Cloud Layer to warp when using the Global Volume with the Visual Environment enabled
- The Inspector does not shown SkinnedMeshRenderer Bounds when they are overriden by script
- Confusing validation message in Scoped Registries
- Compute shader is dispatched with unsupported workgroup size on multiple browsers when building the project for Web with WebGPU Graphics API
Add comment