This version of Unity is unsupported.

EditorSceneManager.MarkAllScenesDirty

Declaration

public static void MarkAllScenesDirty();

Description

Mark all the loaded Scenes as modified.

This function marks all the currently loaded Scenes in the Editor as modified (having unsaved changes).