Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

APK over 50 MB issues with Play Store

Discussion in 'Android' started by DavidC02, Jun 17, 2014.

  1. DavidC02

    DavidC02

    Joined:
    Jul 19, 2011
    Posts:
    152
    Hey guys,

    We've read this http://docs.unity3d.com/Manual/android-OBBsupport.html but we've seen some games on the Play Store that are way over that limit, how is this done?

    We're kind of hitting a brick wall with this, since we wanted to avoid doing something like downloading stuff when you launch the game or something like that.

    What solutions are available? :)

    Thanks!
     
  2. Gonjes

    Gonjes

    Joined:
    Jul 10, 2013
    Posts:
    14
    if you want to develop a new game or application and add it into playstore your apk should be <= 50MB
    but if it over 50MB like you've said before you have to make obb..
    with obb you have to manage your apk <= 50MB and other asset include in obb
     
  3. vpukhanov

    vpukhanov

    Joined:
    Jun 18, 2014
    Posts:
    5
    During the .APK publish process you can upload .obb file directly to the Google Play servers.
    If you do so, the Play Market shows full size of application on its page, which includes apk size + obb size, so that's how it works.

    However, you need to manually implement the function of downloading obb from Google Play servers. There was a plugin, but that doesn't work for now (as I can see from user reviews).

    So, good luck on that :)
     
  4. DavidC02

    DavidC02

    Joined:
    Jul 19, 2011
    Posts:
    152
    But games like BADLAND are over 50 MB, and it is downloaded from the store, not inside the game. Once I launch it, I just play it, it doesn't download anything afterwards. How do they do this?
     
  5. DalerHakimov

    DalerHakimov

    Joined:
    Mar 14, 2014
    Posts:
    302
    They do it via APK Expansion files aka obb (which has been mentioned here). You can host up to 4gb in Google Play Services.. When someone download your game from GP, and it has expansion files placed in Google Play, they all will be downloaded and unpacked automatically, so once you run the game, it will not download anything else. Read the link below, it says how the obb files will be unpacked by Android OS, and you should configure your game to use that "paths" for resources.

    Link http://developer.android.com/google/play/expansion-files.html

    How to do it via Unity? have no idea... never done it. Supposed to be the link which you have provided... Look in this forum, there was some answer to this, recently.
     
    Last edited: Jun 20, 2014
  6. DavidC02

    DavidC02

    Joined:
    Jul 19, 2011
    Posts:
    152
    What we did in Unity was check the Split Application Binary checkbox, that created the OBB file we uploaded to the Play Store, but once we downloaded it from the store, the game didn't work, it seems to not have downloaded the OBB file, which is why I'm asking, because we've lurked around the forums, but people just ask, and not follow up, we haven't found a good explaination and what we've tried so far, which follows the guides didn't work.

    Also what's on that guide, we seem to have done already.
     
  7. DalerHakimov

    DalerHakimov

    Joined:
    Mar 14, 2014
    Posts:
    302
    @David Morón ,

    A quote from the link which I've provided:
    If it's not downloaded, you should manually do it: http://developer.android.com/google/play/expansion-files.html#Downloading

    A lot of ppl have done it, if it doesn't work for you, then you do something wrong. The link in google play dev says everything to make it work, maybe they don't have libraries for Unity.. you may want to check the asset store, if you can't use native java libraries in Unity..

    P.S Sorry for not giving the concreted answer, as you might already get I didn't do it, so I don't know. But it will be good, if you will make it, and share your results to community. A lot of ppl would appreciate this info.
     
  8. Crichton333

    Crichton333

    Joined:
    May 4, 2014
    Posts:
    113
    What is the actual size of your APK now ? Before the split.