Splitting Android application and level loading

Hi, I’ve been trying to use Unity’s OBB generation feature (“Split application binary” on Android Player Settings) and had an issue while updating my application.

I have a loading scene and a game scene with many streaming assets. I have only updated some scripts and left the assets untouched. Then I compiled a new APK and uploaded it to the Play Store, and set it to use the previous OBB file.

Now, when I try to run the application, I get this error:

Level ‘LevelNameGoesHere’ (1) couldn’t be loaded because it has not been added to the build settings.

Does any one know why is this happening? It would be really annoying to make my users download the full application each time I make a simple update.

Thanks in advance,

Mine somehow got solved.
I read somewhere that mixing Javascript and C# could cause this. I converted all my Javascript code to C# and I have not run into this issue since then.

I had a different requirement that a folder in StreamingAssets be present in APK rather than the OBB file(it was required by native code). So I export the project to Eclipse and manually put the folder there and export the APK from eclipse. The OBB file is built in Temp/StagingArea

Hi Martín Coll
I got one solution i drop all my scenes in Resources folder. now its working for me .

Thanks & Regards

I had the same problem. The only solution I have found is to upload new OBB file for updated APK and then wait at least 30 (or more) minutes while this OBB file will be accessible on server. If I tried to download OBB file right after I uploaded it, the server used previous version of OBB file which, obviously, didn’t work with the new APK and I got this error:

Level ‘LevelNameGoesHere’ (1) couldn’t be loaded because it has not been added to the build settings.

Some devices can’t download .obb file. So we need to download.

Please follow following links for detail.