Search Unity

Can't remove scene from hierarchy

Discussion in 'Getting Started' started by israkari, May 18, 2017.

Thread Status:
Not open for further replies.
  1. israkari

    israkari

    Joined:
    May 9, 2017
    Posts:
    2
    In Hierarchy window, i right click on the scene, but the "unload scene" and "remove scene" options are grayed out (see attached screenshot)
    why is that? what am i missing?
    thank you
     

    Attached Files:

  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I don't know; maybe it's the scene you have open, and Unity doesn't like that.

    But Unity scenes (like everything else in the project window) are just files on disk. You can always just delete the scene file directly.
     
  3. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,512
    You cannot unload or remove the primary scene. In Unity, you must always have at least one scene loaded. You can change to a different scene in the Editor by double-clicking the scene in your Project folder. If instead you drag the scene to the Hierarchy, it will load that scene in addition to your currently open scene.

    With multiple scenes open, you can then right click on one of them and either unload it or remove it. I've never needed to work with multiple scenes at once, so I can't really tell you the difference.
     
    Ryiah and AscendDev like this.
  4. Deleted User

    Deleted User

    Guest

    If you want to remove a scene do it in the Project view, not in the Hierarchy view. :)
     
    MalWalsh and Griffox like this.
  5. israkari

    israkari

    Joined:
    May 9, 2017
    Posts:
    2
    wow guys thank you all!
    this is my first question here and this forum is awesome and very helpful
    Unity for the win! :)
     
Thread Status:
Not open for further replies.