Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Cannot build because of ghost Scene

Discussion in 'Editor & General Support' started by boby-bobs, Mar 8, 2017.

  1. boby-bobs

    boby-bobs

    Joined:
    Oct 18, 2013
    Posts:
    53
    I have a project with one game.scene file, and 0 other .scene files in the project. However, when I try to build, the build dialog shows "game" scene repeated twice. When I try to build with any selection of either scene, nothing happens, and a strange, blank scene is loaded..

    How do I remove this ghost scene?
     
  2. mikael_juhala

    mikael_juhala

    Joined:
    Mar 9, 2015
    Posts:
    247
    Try opening ProjectSettings/EditorBuildSettings.asset into a text editor and removing all unnecessary scenes listed in there.

    EDIT: Or you could probably simply remove all the scenes listed in the file and then add your game scene again in the build dialog.
     
    boby-bobs likes this.
  3. boby-bobs

    boby-bobs

    Joined:
    Oct 18, 2013
    Posts:
    53
    Thanks!! That worked.