Search Issue Tracker
Won't Fix
Votes
4
Found in
2017.2.0b6
Issue ID
943982
Regression
No
Vertical Layout Group doesn't update the children when the size of one is changed and it doesn't have an Image component on it
To reproduce:
1. Open the project, attached by the user (UISketches2017.2b.zip)
2. Open "EmptyScene" scene
3. Find PanelItem game object in the Hierarchy and change its height
4. Observe how Vertical Layout Group, put on the Panel game object, doesn't update.
5. Enable the Image component on the PanelItem
6. Change PanelItem's height
7. Observe how Vertical Layout Group updates
Expected: Vertical Layout Group updates when the height of its child changes regardless whether an image script is enabled or not
Actual: changing the height of the UI game object doesn't cause the Vertical Layout Group to update if the UI game object doesn't have an image component enabled
Reproduced in 5.5.4p2, 5.6.3p1, 2017.1.0p5, 2017.2.0b6, 2017.2.0b8, 2017.3.0a5
Comments (5)
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
- Profiler connects to a different opened Editor project when more than one project is open and building for WebGL with Autoconnect Profiler enabled
- Creating and then deleting the "Integration Update: Rotation" block breaks and makes unusable VFX Graph
- “ArgumentNullException: Value cannot be null.” when deleting a newly created input action
- Undoing the creation of the "Button - TextMeshPro" GameObject only removes Canvas and EventSystem GameObjects
- NullReferenceException errors are thrown when entering the Play Mode when ShaderGraph window is focused
SunSailor
Dec 01, 2023 21:09
Can confirm this false behaviour still in Unity 2022.3.12f1.
narger
Jan 23, 2021 10:27
Btw thanks for the workaround @Davemeta
narger
Jan 23, 2021 10:26
Still happening in Unity 2020.2.1f1, i had to add an empty image component to each of my panels root.
But hey, won't fix!
davemeta
Apr 15, 2020 20:17
Maybe the developers can explain why this is marked as "won't fix?" How is this intended to be used?
davemeta
Apr 15, 2020 20:16
Still happens in Unity 2019... it also does not work with a LayoutElement attached. I would expect a RectTransform by itself should work, but it doesn't