Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2018.4
2019.3.3f1
2020.2
Issue ID
1260855
Regression
No
[VerticalLayoutGroup] Children position is not updated when a child's scale is animated
How to reproduce:
1. Open user's attached "VerticalLayoutGroup - Bug.zip" project
2. Open "SampleScene" Scene
3. Enter Play Mode
4. Observe the Scene view (More visible than in Game view)
Expected result: Both "Left Panel" and "Right Panel" GameObject's children change position according to size and scale change when size/scale is changed manually or animated
Actual result: "Left Panel" GameObject's children move according to size change when animated, but "Right Panel" GameObject's children stay in the same place, even though the first child's scale is getting animated and "Use Child Scale" property on "Height" is checked on the VerticalLayoutGroup Component
Reproducible with: 2018.4.24f1, 2019.4.3f1, 2020.1.0b15, 2020.2.0a17
Notes:
- Having "Use Child Scale" property unchecked on "Height" and changing the scale manually looks the same as the behavior when a child's scale is animated, so this property might not be respected when animated
- When changing manually the first child's scale, other children move accordingly to the scale change
- Attached a video showing the behavior of changing the scale manually and when it is animated
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2021.2):
Added a note to documentation to say Animation is not supported when modifying the scale.(Overall the issue is by design)