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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
This is a duplicate of issue #1038666