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 Zukohone · Feb 14, 2017 at 07:44 AM · buildingbuild settingsbuild-size

why unity3d builds are so large?

Hello,

Since I started with unity3D, I noticed something with my builds, they are heavy. I created a simple 2D game project with nothing and build a blank game for mac 86_64 and i get 44mb game, I have similar size with building windows, but in Android build I have 19MB and HTML5 4MB something is very wrong here.

When I go to the publisher log they say (this is Mac86_64 version build):

 Textures      0.0 kb     0.0% 
 Meshes        0.0 kb     0.0% 
 Animations    0.0 kb     0.0% 
 Sounds        0.0 kb     0.0% 
 Shaders       0.0 kb     0.0% 
 Other Assets  0.5 kb     0.0% 
 Levels        4.7 kb     0.1% 
 Scripts       526.1 kb     11.5% 
 Included DLLs 3.9 mb     88.2% 
 File headers  8.9 kb     0.2% 
 Complete size 4.5 mb     100.0%

But the file actually is 44,3 MB This is normal? what can i make to reduce that size? 19MB for a empty Android game is too heavy.

Thanks a Lot,

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by hexagonius · Feb 14, 2017 at 09:55 AM

You should read through these manual pages:

https://docs.unity3d.com/Manual/ReducingFilesize.html
https://docs.unity3d.com/Manual/iphone-playerSizeOptimization.html

A lot of optimizations can be done, but there's still the engine framework that always gets packed along with your content and seems to be about 12 MB.

Comment
Add comment · Show 1 · 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 Zukohone · Feb 14, 2017 at 05:26 PM 0
Share

if the egine is about 12$$anonymous$$B plus 4.5mb that log says the should be the game a 16.5$$anonymous$$B? i know there is many optmaztions can be made ,but is a empty game project, no sprites, scripts, materials or anything. just the blue screen and default camera.

avatar image
1

Answer by Eric5h5 · Feb 14, 2017 at 11:17 AM

You reduce the size by using compression. When you zip the "empty" (it contains the entire game engine plus some necessary libraries) 44MB desktop build, it's around 15MB. Nothing is wrong and nobody really cares about a few additional MB for downloads; a real game with any significant amount of assets is going to be much larger.

Comment
Add comment · Show 5 · 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 PixelSpartan · Feb 14, 2017 at 04:35 PM 1
Share

Why does it say 4.5 mb in the log tho?

avatar image Zukohone PixelSpartan · Feb 14, 2017 at 05:31 PM 0
Share

yeah i dont get it too, maybe is just the real game content and the other part of the size is from the unity Egine files What is not in the log?

avatar image Eric5h5 PixelSpartan · Feb 14, 2017 at 09:50 PM 1
Share

The log lists the size of the assets; it doesn't include the engine.

avatar image Zukohone · Feb 14, 2017 at 05:29 PM 0
Share

i understend for a desktop game 44 is not too much, but 19mb for a empty android game is too much, speacially in my country where most smartphones and mobile internet are very simple. i think 19mb is accpetable for a simple complete game.

avatar image Eric5h5 Zukohone · Feb 14, 2017 at 09:51 PM 1
Share

19$$anonymous$$B is also compressed for distribution. There are thousands of mobile Unity games, so clearly it's not actually a problem.

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

7 People are following this question.

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

Related Questions

Excluding resources when building 2 Answers

How to add custom Proguard files to build.gradle? 1 Answer

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

Unity 2017..1.1f1 (64bit) building error 0 Answers

Not building anything and there is not even a build popup (win 10) 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