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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment