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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

What is an acceptable size, in MB, of a mobile game

Discussion in 'General Discussion' started by pKallv, Nov 8, 2015.

  1. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,129
    I am developing my mobile game and just wonder what size is acceptable for a mobile IOS and Android game?

    Also, i would guess that many mobile 3d games is pretty big?
     
  2. darkhog

    darkhog

    Joined:
    Dec 4, 2012
    Posts:
    2,218
    Less than 40mb.

    As for models, the biggest impact have textures there. You should use JPG textures as much as possible since even JPEG with quality set to max is smaller than png of same image. Another thing that needs to be considered both for size and performance (former less important here) is polycount as you're developing for what is an essentially equivalent in graphical capabilities of late 90s to mid 2000s PC machines.
     
  3. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,021
    Wait what? Why 40mb?

    And AFAIK what the initial texture format is doesn't really matter since Unity converts them to whatever the project has set them to be (compressed pvr/uncompressed/16bit/whatever).
     
  4. DanielQuick

    DanielQuick

    Joined:
    Dec 31, 2010
    Posts:
    3,137
    If your game is over 100mb iOS users will be required to be on WiFi to download it. If it is less, they can download it over their mobile data plan.

    EDIT: Less than 40mb is an incredibly low goal to shoot for. Unity alone will take up 10-20mb depending on build stripping. I think 100mb is a comfortable goal. Of course it all depends on the type of game you're making.
     
    theANMATOR2b, zombiegorilla and Ryiah like this.
  5. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Why not check out the store guidelines?
     
    zombiegorilla and Ryiah like this.
  6. aer0ace

    aer0ace

    Joined:
    May 11, 2012
    Posts:
    1,511
    Greater than 50 MB for an Android APK will force the build to generate a separate OBB expansion file for your users to download, and that's not cool.

    EDIT:
    Hmm, Android docs updated the limit to 100MB, but Unity docs still say 50, so make your best guess....
     
    Last edited: Nov 8, 2015
    theANMATOR2b likes this.
  7. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,984
    We try to keep it <100 so it can be be downloaded without wi-fi. At least the initial download.

    Beyond that, it's really depends on the game. Try to keep it as small as you can within the needs of the game. It's not uncommon to see ~1gb games, even in the to 10
     
  8. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,984
    As @AcidArrow pointed out, texture format is irrelevant as unity converts. It's better to have uncompressed source in your project as the results will be better.

    Also, modern devices have graphicall capabilities closer to last gen consoles. (Though not the memory space for storage).
     
    Ryiah likes this.
  9. tedthebug

    tedthebug

    Joined:
    May 6, 2015
    Posts:
    2,570
    I've had some that were a smallish download from the App Store & then when it installed it downloaded >1gb
     
  10. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,984
    I just had one like that a few weeks ago too. It was weird because it was a some casual puzzle game. I was surprised it needed that much.

    As a developer you have to careful of that stuff. Make sure to check for available space if are loading remote content. Our last game, when we first launched, didn't check. And though the main game was around 80mb, if you played past the first level it downloaded about 300mb of content. We ran into an edge case where some players didn't have the available space for that. It would just crash. We eventually added a warning.
     
    papitsa and Ryiah like this.
  11. tiggus

    tiggus

    Joined:
    Sep 2, 2010
    Posts:
    1,240
    I've been playing fallout shelter on android and it was 147MB. I don't think there is a set amount as I almost always install apps when on wifi, just make sure it is worth the space.
     
  12. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,384
    Hearthstone is like half a gig. All of my installed games right now are over 100 mb.

    It all depends on the complexity of your game.
     
    dogzerx2, Ryiah and zombiegorilla like this.
  13. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,129
    Is there a way of checking the size without building on device?
     
  14. darkhog

    darkhog

    Joined:
    Dec 4, 2012
    Posts:
    2,218
    Unpack built .apk file to some folder in computer (.apks are zips with fancy extension).
     
  15. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    But what is relevant to the build is the Max Size and the Format in the texture import settings window.
    Another thing people tend to overlook is audio. Make sure you increase the compression in the audio import settings especially for large audio files.

    Also a cleanup/review of everything in Resources and StreamingAssets folders is another good idea.
     
    zombiegorilla likes this.
  16. aer0ace

    aer0ace

    Joined:
    May 11, 2012
    Posts:
    1,511
    About that, I like using the Build Report Tool to track my assets in a build.
     
    papitsa, theANMATOR2b and Meltdown like this.