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

Build Pipeline

-

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)

  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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.