ScriptReference/EditorUtility.SetDirty #113
Replies: 2 comments
-
Comment by Tom Gleadall: If you aren't using a SerializedProperty yet you want to set a scene as dirty then you can use |
Beta Was this translation helpful? Give feedback.
-
You can track ALL SetDirty calls that happen to track down what might cause unwanted scene dirty. To do so go to "Help->About Unity" and while About Unity window is open type on your keyboard "internal". This enables a special editor mode. In the Console you will see logs with InstanceId of dirtied object inside [ ] brackets, also log should have stacktrace of the SetDirty call. UPD |
Beta Was this translation helpful? Give feedback.
-
ScriptReference/EditorUtility.SetDirty
https://docs.unity3d.com/ScriptReference/EditorUtility.SetDirty.html
Beta Was this translation helpful? Give feedback.
All reactions