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
1
Question by UDN_2f27d3c0-d680-4cd9-a5e8-6eec2a4ad141 · Apr 12, 2017 at 12:53 AM · androidiosbuild

Complete size calculation does not match

I checked the build size in the editor log, but complete size does not match from the sum of all.

 Textures      6.4 mb     9.6% 
 Meshes        0.0 kb     0.0% 
 Animations    60.0 kb     0.1% 
 Sounds        2.2 mb     3.3% 
 Shaders       339.8 kb     0.5% 
 Other Assets  3.1 mb     4.6% 
 Levels        13.6 mb     20.4% 
 Scripts       1.5 mb     2.2% 
 Included DLLs 3.9 mb     5.9% 
 File headers  225.0 kb     0.3% 
 Complete size 66.6 mb     100.0% 


In my calculation complete size will be 31mb. What is the rest 35mb?

Unity Version: 5.5.2f1 Personal

Building for iOS and Android.

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
4
Best Answer

Answer by Bunny83 · Apr 12, 2017 at 01:09 AM

That's simply the engine's core. You have ignored the percent information given in the listing. Those add up to about 46.9%

 66.6 * 46.9 / 100 == 31.2354

So everything listed here is correct, it just don't list certain overhead explicitly. "Scripts" only covers your own scripts. The actual engine is not covered in this listing. This is just an asset list

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 UDN_2f27d3c0-d680-4cd9-a5e8-6eec2a4ad141 · Apr 12, 2017 at 03:52 PM 0
Share

Thank you for your comment!

One question remains. If it is log of other people, it adds up to about 100%, but in my editor.log it add up to about 46.9%. Is this depending on the build setting or version of Unity to include or not include engine's core in the editor.log?

Example) http://answers.unity3d.com/questions/780788/unity-build-complete-size-does-not-match-app-size.html

avatar image Bunny83 UDN_2f27d3c0-d680-4cd9-a5e8-6eec2a4ad141 · Apr 12, 2017 at 04:33 PM 0
Share

Yes, it most likely depends on the build target. The process of creating a build is very different depending on the platform. Of course the Unity version also has an impact on the build size. In general the newer the Unity version the larger the engine core since new features are added over time. However at the same time code and module stripping also improves. So it's not guaranteed that a newer version always results in a larger build.

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

testing ios build on device 3 Answers

Cannot build the application neither for Android not for iOS 2 Answers

How do you manage your Free and Paid Android/iOS game(C#) 1 Answer

Play web game through mobile device 1 Answer

Will Admob work for iOS? 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