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
- The hover selection/highlight of items in the Insert button dropdown and the Documentation button dropdown are hard to see when hovered using the Light Editor theme
- NullReferenceExceptions appear when clicking to rename and then deleting the only GameObject in a scene
- Crash on "core::base_hash_set" when using nested [SerializeReference] fields in List<T> structures
- A ghost Game Window and multiple errors appear in the Editor when a Render Texture used by a Camera's "Target Texture" property is deleted
- Color Picker feels less smooth when dragging a Variables Color property in UI Builder Inspector
Add comment