BUG - Scene Marked Dirty After Exiting Play Mode

Hi there,

I have a problem when using a scroll view + horizontal\vertical layout group and a prefab as a child object.
What happens after you enter & exit play mode the scene is marked as dirty.

This is how i reproduced the problem :

Using : Unity 2017.3.0f2 Personal (64Bit)

1. Create a new project (2d)
2. Create a new UI Scroll view
3. Inside the Scroll View create an empty child object with horizontal\vertical layout group
4. Create an empty child object inside the empty child object and set only the child as a prefab
5. Save Scene
6. Enter play mode and exit

Hierarchy :

  • UI Canavas
  • Scroll View
  • GameObject (Empty Child Object with layout group)
  • GameObject (Prefab)

Did anyone encounter this problem ?

After sending a bug to unity, The QA team responded that
It appears that this bug was reintroduced again after being fixed in version 2017.2.0a1.

Original case’s status : Unity Issue Tracker - Scene becomes dirty after Play, if it has a Prefab with "Vertical Layout Group" component, and UI object as a child