Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
1
Question by s.montanarella · Apr 02, 2015 at 09:56 AM · ios

iOS app is much larger than Android app

Hello,

We are developing a cross platform (Android/iOS) application on Unity 4.6.4 which is installed on a Windows 7 workstation. The Android SDK is on the Windows workstation so we launche the apk package build process directly from Unity. The apk size is about 40 Megs. In order to compile the iOS app we build the Xcode project in Unity on the Windows workstation than the project get transferred on a Mac and is then compiled in Xcode 6. The iOS app size is about 700 Megs wich is really too big compared with the Android app. The iOS Unity project player settings are left at the default values but the following: 1. Other Settings > Scripting Backend: IL2CPP 2. Architecture: Universal 3. Graphics API: Open GL ES 2.0

Have you any idea why we are facing this issue? Thank you in advance,

salvatore

Comment
Add comment · Show 2
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 David-Berger ♦♦ · May 12, 2015 at 04:09 PM 0
Share

Just to gather some more information: - When you use $$anonymous$$ono as scripting backend, rather then IL2CPP you still have a iOS app with 40$$anonymous$$B comparable to the Android Build? - Is 700$$anonymous$$B a spelling mistake and you mean 70$$anonymous$$B? Or is it really 700$$anonymous$$B - Do you talk about the .ipa size?

A little guide on IL2CPP build size reduction can be found here: http://forum.unity3d.com/threads/il2cpp-build-size-improvements.322079/

avatar image s.montanarella · May 21, 2015 at 01:58 PM 1
Share

Hi $$anonymous$$, it wasn't a mistake, it really was 700 $$anonymous$$B on device (not the IPA size, which should be smaller due to compression). What surprised me was the difference compared with the Android app which was something like 60$$anonymous$$B on device... I had to use IL2CPP in order to support 64 bit devices. We managed to drastically reduce the app size by changing our approach, we moved from a low poly/big maps model to a high poly/small maps one. Actually the app size went down to a 68$$anonymous$$B IPA and 180$$anonymous$$B on device (but the GPU is now pushing its limits on some devices). The Android ipa is now 30$$anonymous$$B and 56$$anonymous$$B on device. Thank you for the IL2CPP build size reduction thread, I hope it will help!

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by trololo · Apr 02, 2015 at 11:10 AM

Well, actually the compression on IOS and Android devices is totally different. If your textures are compressed as DXT5/DXT1 format (as they should be) on Android, they will "fall down" to a RGB compression on IOS, which is much larger. You can override that comrpession for IOS, using PRVTC, but you app will never be as small as it is on Android (and you'll have some ugly assets). But this is not explaining such a huge difference... I think you can set some settings in XCode (Code Generation / Optimisation Level) to fastest and it may help to reduce your app size.

Comment
Add comment · Show 2 · 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
avatar image s.montanarella · Apr 10, 2015 at 08:40 AM 0
Share

Thank you trololo, I think you are right. We had to turn off normal maps compression because we noticed too much artifacts and we are using many of them. Scaling down maps from 4096 to 1024 helped a lot containing app size. $$anonymous$$ay be the Android build optimization process is applying some sort of compression overriding our settings. This is our first job with Unity as well as our first iOS app so we are pretty unexperienced. I can't figure out how to enable PRVTC compression, the only options I see are Truecolor, Compressed and 16 bits.

avatar image mrdsmt · Apr 10, 2015 at 09:06 AM 0
Share

Change your texture setting as "Advanced" then select and check override for platform that you want to set a especially format for that, select "Format" menu then you will see more optional.alt text

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

iPhone profiler evaluation 1 Answer

Serialization of Dictionary> in Unity 4,6 0 Answers

Using AssetBundles as IAP Crashing 0 Answers

Cancel a build process (Windows, Unity 5) 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