Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 kaZep · Jul 16, 2015 at 02:56 PM · androidsizefileapkbig

Why does unity change the APK file size after build?

Hello,

I have been trying for days to reduce my APK file size, the game is very small, simple but it takes 27 MegaBytes!!! In the editor log file it tells me the complete size is 10mb.

 Textures      2.9 mb     28.6% 
 Meshes        0.0 kb     0.0% 
 Animations    7.2 kb     0.1% 
 Sounds        0.2 kb     0.0% 
 Shaders       731.0 kb     7.0% 
 Other Assets  296.9 kb     2.9% 
 Levels        66.8 kb     0.6% 
 Scripts       1.0 mb     10.2% 
 Included DLLs 5.1 mb     50.4% 
 File headers  30.1 kb     0.3% 
 **Complete size 10.1 mb     100.0%** 

The problem is that as soon as Unity finished to build the APK file, it has the size of 27MB. Why is this?

UPDATE #0: -- APK SIZE --

APK SIZE

UPDATE #1: -- ASSETS SIZE --

Funny thing about unity, i've calculated the entire project size with Explorer, guess what, 22.9MB... And the game doesn't even use all the assets...

Photo

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 Graham-Dunnett ♦♦ · Jul 16, 2015 at 02:58 PM 0
Share

I think the editor is telling you that it's compressed lots of assets and they are now 10$$anonymous$$B in size. But you are making an application, so there is lots of other (non-asset stuff) that is needed in the AP$$anonymous$$.

avatar image kaZep · Jul 16, 2015 at 03:22 PM 0
Share

So that means there's 17$$anonymous$$B of more stuff needed in the AP$$anonymous$$? That cant be real

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by AcE_fLoOdEr · Jul 17, 2015 at 03:58 AM

Dude your game is 27 mbs? That's normal relax. It will also expand upon installation on Android. Go to your application settings on your device, the average application size is 30-40 megabytes. Well, for me at least, so when your app installs, it will be in the same range. So you're good. Doesn't affect performance.

Plus, most games on the market are big now, even on phones. But to answer your question, there's not really a way to reduce the size. Unless you publish an empty scene.

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 kaZep · Jul 17, 2015 at 07:18 AM 0
Share

Well my game is extremely simple and it has no reason to have 27 mega bytes, it's just a time-spending game, and 27$$anonymous$$B for such a game is way too much :/

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How to reduce apk size to its minimum? 6 Answers

My build size randomly doubled Andriod 1 Answer

Size of apk too big 1 Answer

.apk file built is not compressing much of the original in latest version of unity. 1 Answer

android apk size not getting much smaller 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