Google Play OBB Downloader (499288)

I am trying to get my app on the Google Play store. It is well over the 50MB limit at around 250MB.

I have followed the tutorial found here: http://labs.exoa.fr/tutorial-unity-4-apk-splitting-google-play-obb/

This worked great when I started fresh with a new project, both in Unity and on Google Play.

However, when I try to implement it in my existing project I get an error:

This happens after I click the download button in the example.

Any way to narrow down what setting I need change to get this working?

The only hint I have is that I am using several prime31 plugins along with the Google Play OBB Downloader plugin. They both seem to want to modify the AndroidManifest.xml file, along with styles.xml, strings.xml, and main.xml. I have done my best to merge these manually, however I’m not really sure what some of it is doing.

Any help would be appreciated!

1 Like

i used the same one and had no issues at all. recommend you check your google settings.

Hey folks,

I’m having a similar problem. Have you made any progress on this? We’ve never used the OBB downloader before and I’m not sure what settings could cause this problem.

Thanks,
Jared

Hey guys,

I have the same problem now. Is anyone able to resolve this ?

Sometimes I get “Download failed because you may not have purchased this app”

and sometimes I get “Download failed because the resources could not be found”

“Download failed because resources could not be found” is due to propagation on Google’s servers. You just need to wait a little longer before testing.

1 Like

Ya, it works now. Thanks.

Hey Guys i’m hoping you can help me … i have following problem … i set up a test project with a downloaderscene and a game scene

the downloader scene contains the obbdownloaderexample from this tutorial Anthony Kozak :: Développeur - Consultant - Formateur :: Lille

the downloaderscene trys to start the download … after a few seconds it says that the download has finished
but he it did not download anything … is this supposed to happen since the App is not published yet or is there an error?

Hope you can help me!

I’m having the exact same problem.

Except for me its clearly downloading my obb file but it doesn’t appear to be saving it anywhere.

the mainpath is /storage/emulated/0/Android/obb/ /

Cannot find the obb file or this folder on my device.

I’m running on nexus 4 (android 4.2.2 )

Also having this problem. Could this happen when the LVL is wrong or what could cause this? It can’t be because I tried too soon after uploading the apk/obb, because that was 24 hours ago.

I just split the APK and upload the APK and the expansion file to Google Play. I didn’t add the OOB downloader to my project but everything still works. No customer has complained. Not sure the OOB downloader is needed for Google Play.

I think it’s only needed in a minority of cases where the OBB file is not automatically downloaded (apparently some devices will not download the expansion at the same time). I want to make sure that in these cases the customer will be able to automatically download the OBB, but I’m having trouble with that.

I will just ask here instead of creating a new thread.

Is anyone else having problem RESUSING an OBB package?
I bump bundle version and leave bundle version code but launching new build with the old obb on the proper place still gives “add level to build settings”.
Only way for me to getting it work properly is to bump OBB version as well - any ideas?

I’ve always had to use the exact OBB that came with the APK every time I made any changes, otherwise always had that error. This was even in cases where the OBB’s were the same version code, name, and exact file size. I’m currently waiting a couple hours to make sure google has correctly set my OBB to the newer one in order to do a quick test. Not sure if there are any workarounds for faster testing when you need to download it from google.

All right, thanks straafe.
Will put in a bug report - see what happens…

Just got a one star rating saying “each update uses up 300MB more of sd card each time”… aaaarg sometimes I wish I could reach in to the screen and grab the person :smile:…

In Unity 4.3 the plugin will crash the app/device any time it tries to do the download. I had to (re)install the 4.2.2 Unity to keep working on a project.

How do I split the APK and upload it to google play? I have a game and it is only 64,245kb. Can you send me a tutorial so I can learn how to do it?

I upload the apk and OBB to Google Play for about two days, but when I run the apk, I get “Download failed because the resources could not be found”, how to solve this?

I do a test demo as “Tutorial Unity 4 apk splitting into OBB for google play”. Is there some setting not right?

You may want to do some coding in removing the old obb files. (That’s what I did for my project)

for(int i=1; i < currentAndroidVersionNo; i++)
{
string obbFile = string.Format(“{0}/main.{1}.{2}.obb”, obbPath, i, <package_name>);
if (File.Exists(obbFile))
{
File.Delete(obbFile);
}
}

This will delete all the unwanted (previous) obb files that is still on the device.

You guys may want to take a look at this particular tutorial too. Hope it helps.
http://smartkiran.wordpress.com/2013/04/05/how-to-split-apk-and-generate-obb-for-google-play-store-using-unity-3-x-and-windows-also-works-on-mac-havent-tested-it/

hi, so this tutorial link does not exist no more.

http://labs.exoa.fr/tutorial-unity-4…ogle-play-obb/

Has anyone know how to do it work at current environment? unity 4.3.4 newest.

and asset store’s unity official google obb downloader’s reply, users says there are bugs on unity4.0

then how should I do now?

Thx.

Bump.

As Leegod mentioned, comments on the asset store for google obb downloader, say don’t use it in Unity 4.0.

Should you/shouldn’t you use this asset? If not, what is the correct process for splitting APK and downloading OBB?

Thx