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
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)
-
iMobCoding
Feb 10, 2018 20:21
This happens in 2017.3 again
-
KillStone1997
Oct 27, 2017 16:46
Ah! Finally!
-
michalferko
Sep 22, 2017 09:30
Same problem with Content Size Fitter.
-
Johannski
Jul 26, 2017 08:38
Also applies to horizontal layout groups. This is quite annoying for projects with version control.
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
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
- [Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release
- NullReferenceException errors appear in the Console and Inspector window turns black when dragging .cs and .uxml files to another directory
This is a duplicate of issue #966172