- Home /
Scene could not be loaded even though it is in build settings
05-24 14:16:04.623: E/Unity(23475): (Filename: Line: 292)
05-24 14:16:06.623: E/Unity(23475): Level '' (1) couldn't be loaded because it has not been added to the build settings.
05-24 14:16:06.623: E/Unity(23475): To add a level to the build settings use the menu File->Build Settings...
The application could not load scene level 1. It shows above error even though that scene is exist in build settings. Using scene name instead of level number produces a similar error. I have tried removing and adding the scene back also. Can anybody help me?
If your code is producing an error, it's always a good idea to show us the code. $$anonymous$$ight be helpful to also post a screenshot of the scene list in build settings.
You could try to save your scene again under a different name and add it again to the build settings.
And make sure you really have the name right. The ".unity" you should leave out when you specify the name in your code:
myLevel_scene.unity -> Scene$$anonymous$$anager.LoadScene("myLevel_scene");
Otherwise what Bonfire Boy wrote.