- Home /
How to prevent Unity3D making unnecessary changes after saving scene with no actual changes
I was having trouble where Git shows a lot of changes (for my case, about ~3000 diff change since I have many objects in the scene) after saving scene (.unity file) in Unity3D, even though there are no changes made on the scene file (.unity file).
Upon checking, I noticed Unity3D recompiled the scene file and some values are just in a different order.
How do we prevent this from happening?
Steps to reproduce: 1. Open the scene file. 2. Disable and enable back any GameObject (just to trigger Unity to think there're changes, so you can save the scene file). 3. Save the scene file.
Your answer
Follow this Question
Related Questions
Strange behavior: Default scene reloads itself automatically over the previous one 0 Answers
Unity2020 loads project but unable to edit 0 Answers
OpenScene Twice Causing "PlayerLoop Called Recursively" 0 Answers
SerializedObject target has been destroyed. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) 9 Answers
Text.text doesnt work after scene change 2 Answers