Search Issue Tracker
Duplicate
Votes
0
Found in
2018.2.0b10
Issue ID
1066714
Regression
No
Scene can't be loaded after renaming the folder it's in and reopening the project
Repro steps:
1. Open QA attached project "repro_1066714"
2. In the Project Window rename the folder "Scenes" to whatever
3. Close and reopen the project
4. Open scene 0
5. Enter Play Mode and observe the Console
Expected: Scene "1" is loaded
Actual: An error in the Conse is thrown: "Scene '1' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To add a scene to the build settings use the menu File->Build Settings...
UnityEngine.SceneManagement.SceneManager:LoadScene(String)"
Reproducible with: 2017.2.3p3, 2017.4.9f1, 2018.1.9f1, 2018.2.2f1, 2018.3.0a7
Notes:
- Opening the Build Settings Window after renaming the folder fixes the issue
- If you check the Build Settings after reopening the project you would notice that the path of the scenes does get updated
Comments (1)
- 
        DiabolusGX Aug 06, 2019 21:52 my scene is actually there in build settings but still it's not loading the scene 
 are there any other possibilities for this error?
 "Scene '1' couldn't be loaded because it has not been added to the build settings for the AssetBundle has not been loaded"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
This is a duplicate of issue #1038666