Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by Kitcheone · Feb 11, 2017 at 01:25 PM · iosbuildsize

iOS build 10x larger than Android (over 1GB!)

As the title suggests, I'm having an issue where my iOS builds are coming out at almost 10x the size of Android builds.

My Android build is ~160MB. The iOS build shows on iTunes connect as 1.4GB (even though the "compressed" size is 240MB):

iTunes Connect screen

Here's the output of the build log, which matches up pretty well with the compressed size of 240 MB:

Build log output

All of my textures are PoT, except for about 20 UI sprites (as the compression ruins the sharpness of the UI sprites). However these UI sprites only weigh in at about 1MB each, so they shouldn't be the cause of this insane inflation, right?

What am I missing? Does anybody have any suggestions? I'm pretty frustrated, as my game is ready to be released, aside from this issue. (Who's going to download a 1.4GB game?!)

Any help would be greatly appreciated.

Thanks in advance!

EDIT: I should mention that I'm using Unity 5.5, and XCode 8

EDIT2: After digging into the archive produced by XCode, it looks like the vast majority of the size (> 900MB) is taken up by all of the levelX & levelX.resS files (of which there are 18, as my app has 18 levels). The levels in my game don't really have any data in them, aside from the level blend file itself (which are about 500 KB - 1 MB). The player and all of the items are spawned into the level when it loads.

Why are these levelX and levelX.resS files so big?

capture1.png (50.4 kB)
capture2.png (8.4 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image wijman · Mar 09, 2017 at 01:46 AM 1
Share

Dealing with the same issue: iOS size is almost 10x larger than Android...

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Kitcheone · Mar 09, 2017 at 09:14 AM

I ended up "resolving" this by reducing the size of the shadow maps in each scene.

I'm using uncompressed shadow maps, as they look blotchy and disgusting when compressed. Android handles this fine (I guess it compresses them in its own way), but iOS seems to leave them completely uncompressed. That's what makes the levelX and levelX.resS files so massive on iOS.

My only option was to cut the shadow map size down in half, which in turn reduced all file sizes by 75%. The build is now down to about 350MB. Still about twice the size of Android, but that's good enough for me.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

116 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why iOS Build is more bigger than Android? 0 Answers

Help. About IPA size, my empty project have 46MB... 0 Answers

Android vs iOS build capacity 0 Answers

build size is 560mb! 2 Answers

Monetization breaks iOS build in XCode. Also breaks Android build. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges