Search Issue Tracker

Fixed in 2018.1

Fixed in 2017.1, 2017.2, 2017.4

Votes

0

Found in

2017.1.0a3

2017.3.0b10

Issue ID

1026779

Regression

Yes

[UI] Nested GameObjects without a Layout Element will effect a Layout Groups arranagement after being disabled and enabled

uGUI

-

Nested GameObjects without a Layout Element will effect a Layout Groups arrangement until they are disabled and enabled where the layout out then behaves differently

To reproduce:

1. Download attached project "Case 483737 - Layout Groups with nested children.zip" and open in Unity
2. Open "test" scene
3. Unroll the "UICanvas" GameObject and select "Child2"
4. Disable the Child2 GameObject
5. Observe that this will cause the Layout groups arrangement to change
6. Enable the Child2 GameObject

Expected results: The arrangement will be restored the original when "Child2" is enabled again
Actual results: The arrangement will not be restored to the original when "Child2" is enabled again

Notes:
- This issue is reproducible in Windows and OSX
- This bug report is submitted because this issue is not reproducible in 2017.3.0b11 and newer and it needs a Backport to 2017.1
- I searched for a Duplicate but the search was unsuccessful

Reproduced on Unity 2017.1.0a3, 2017.1.3p3, 2017.2.2p3 and 2017.3.0b10
Not reproduced on Unity 5.6.5p4, 2017.1.0a2, 2017.3.0b11, 2017.3.2f1, 2017.4.1f1, 2018.1.0f1 and 2018.2.0b1
Regression on Unity 2017.1.0a3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.