Search Unity

[Bug or by Design?] EditorSceneManager.EnsureUntitledSceneHasBeenSaved

Discussion in 'Editor & General Support' started by VOTRUBEC, Mar 11, 2020.

  1. VOTRUBEC

    VOTRUBEC

    Joined:
    Dec 17, 2014
    Posts:
    106
    It seems that in 2019.3.3f1 EditorSceneManager.EnsureUntitledSceneHasBeenSaved (string) doesn't show the popup unless the Untitled scene is dirty. And we can't mark a scene as dirty without modifying it.
     
  2. khan-amil

    khan-amil

    Joined:
    Mar 29, 2012
    Posts:
    206
    Doesn't seem by design, according to the documentation at least.