Search Issue Tracker

Duplicate

Duplicate in 5.6.X

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. iMobCoding

    Feb 10, 2018 20:21

    This happens in 2017.3 again

  2. KillStone1997

    Oct 27, 2017 16:46

    Ah! Finally!

  3. michalferko

    Sep 22, 2017 09:30

    Same problem with Content Size Fitter.

  4. 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.