Trying to load a scene with
Addressables.LoadScene(“Scene1”, LoadSceneMode.Additive);
Loads fine in the editor in Packed Play Mode, but when deploying a player on Android, I get this:
Scene ‘Assets/Scenes/Scene1.unity’ 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…
Same code was working in 0.6.8. What’s missing?
1 Like
And the scene is added in Build Settings?
Ran into exact the same problem with my Android project today after upgrading to 0.7.4
It used to work in previous versions.
1 Like
No, because this can be DLC which is not known to the player, so it should be in a bundle and not built-in
Experiencing the same problem
1 Like
This might be a bug in 0.7.4.
I am developing my original build system using AAS.
In my case, it is failed to load a scene bundle depending on another asset bundle.
and this is fixed by changing the code as below.
[line 203 at AssetBundleProvider.cs]
m_downloadHandler = webReq.downloadHandler as DownloadHandlerAssetBundle;
GetAssetBundle(); // add this line
m_ProvideHandle.Complete(this, true, null);
It may be incorrect because my system is a little bit different from the original AAS.
Problem also relevant for WebGL builds.
Thanks for letting us know, and for the repro. We’ll look into this asap
1 Like
Experiencing this problem in Ubuntu