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 /
avatar image
0
Question by Vyder · Jan 18, 2018 at 08:50 AM · iosbuildbuild settingsfilesizefile size

Unaccounted contribution to iOS File Size in Editor Build Logs

I know this is yet another post on iOS File Size.

I'm trying to understand the breakdown that is in the Editor Console log:

 Build Report
 Uncompressed usage by category:
 Textures      216.4 mb   24.0% 
 Meshes        0.0 kb     0.0% 
 Animations    806.1 kb   0.1% 
 Sounds        14.7 mb    1.6% 
 Shaders       0.0 kb     0.0% 
 Other Assets  2.1 mb     0.2% 
 Levels        525.6 kb   0.1% 
 Scripts       409.9 kb   0.0% 
 Included DLLs 1.2 mb     0.1% 
 File headers  301.5 kb   0.0% 
 Complete size 901.6 mb   100.0% 
 
 Used Assets and files from the Resources folder, sorted by uncompressed size:
 ...

I've spent some time reducing the size of the Textures in my game, and have brought it down to 24% of the total uncompressed size.

As you can see, the rest of the line items only add up to ~2% of the total size.

What is contributing to the remaining 74% of the uncompressed file size?

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Neamtzu · Jan 18, 2018 at 11:49 AM

The complete size represents everything Unity ads into your Xcode project. Editor code, dll's, used libraries, etc. If you create an empty Unity project and compile it for iOS the resulted Xcode project will have over 500MB. If you compile this project, the resulted ipa file will be under or around 20MB. If you want to reduce the size of your project, try to remove any unused plugins / sdks, change the compression of the textures, disable the mipmap if you don't need it, use texture atlases, using textures that have the size power of 2 will be better compressed (512x512, 1024x1024).

If you want to reduce the size of the Xcode project and the build time, you can check "Symlink Unity libraries" in Build Settings - this will not copy the unity files into the build. In this case you'll be able only build the Xcode project on the same pc you made the Unity build (because the unity libraries are referenced through absolute path).

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 Vyder · Jan 20, 2018 at 07:59 AM 0
Share

I thought the complete size represented the "installed size" for the game. Is that not true?

avatar image Vyder · Jan 20, 2018 at 07:59 AM 0
Share

Additionally, is there a way to see the break down of the other files that Unity is adding to the Complete Size"?

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

107 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

Related Questions

Can someone take your source code from an iOS build file? 1 Answer

no suitable applciation records were found 1 Answer

I build for IOS and now I have files, and then? 1 Answer

What does the 'Levels' data include in the editor build log? 1 Answer

IOS Cloud Build Error: ld: symbol(s) not found for architecture arm64 0 Answers


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