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
-
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
This is a duplicate of issue #1038666