Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Reordering of modifications in scene files

Discussion in 'Prefabs' started by Baste, Jun 27, 2019.

  1. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,294
    It seems like Unity pretty regularly arbitrarily rearranges the modification list on objects in scenes.

    For example, I now hit save, and got a change in the git log looking like this:

    upload_2019-6-27_11-46-30.png

    These are parts of the m_Modification array on a PrefabInstance. As you can tell, it's the same modifications, just in a new order.

    I have not (intentionally) touched the prefab instance, the prefab asset referenced, or even any object in the scene the prefab instance is in.
     
  2. SteenLund

    SteenLund

    Unity Technologies

    Joined:
    Jan 20, 2011
    Posts:
    639
    Yes, we believe we have a sorting bug. We will look into getting it fixed.
     
    Xarbrough and Baste like this.