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
- SearchExpression strips quotes
- dSYM file is not created during macOS standalone build
- Project Settings panels disappear and do not repaint when entering Play Mode without reloading Domain
- Screen Space Decals ignore Rendering Layer Mask when using OpenGL Graphics API
- Crash on scripting_method_invoke when the Player is build before entering the Play mode in the Editor
This is a duplicate of issue #1038666