Search Issue Tracker

Duplicate

Duplicate in 5.6

Votes

0

Found in

5.6.0f3

Issue ID

910444

Regression

Yes

Scene becomes dirty after Play, if it has a Prefab with "Vertical Layout Group" component, and UI object as a child

uGUI

-

To reproduce:
1. Create a new scene.
2. Add a UI Canvas, add an empty "GameObject" with "VerticalLayoutGroup" component as a child, add UI Text gameObject as a child to the "GameObject".
3. Make a prefab of the canvas by dragging it in the project window.
4. Save the scene as it has become dirty once you created the prefab.
5. Press play.
6. Press stop and notice that the scene is dirty.

Actual result: Scene becomes dirty.
Expected result: Scene stays not dirty.

Reproducible: 5.5.3p2, 5.6.1p1, 2017.1.0b6
Not reproducible: 5.4.5p1

Fixed: 2017.2.0a1
Reintroduced: 2017.2.0p1

Comments (4)

  1. 043f8d9b12f57af383086fa762bc3ccd?d=mm

    iMobCoding

    Feb 10, 2018 20:21

    This happens in 2017.3 again

  2. 7282a148005c7851b366e3989caa6168?d=mm

    KillStone1997

    Oct 27, 2017 16:46

    Ah! Finally!

  3. 5b8865af7e2b056f214a455f3c9e030c?d=mm

    michalferko

    Sep 22, 2017 09:30

    Same problem with Content Size Fitter.

  4. 3361a352d9e72c7c299a093fad471e91?d=mm

    Johannski

    Jul 26, 2017 08:38

    Also applies to horizontal layout groups. This is quite annoying for projects with version control.

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.