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
0
Question by nemoryoliver · Apr 05, 2013 at 05:15 AM · optimizationsizeapkoptimizing

What most make the APK size big?

Hello I am a 2 week old Unity Dev and I am building a game based on the Toon Level Kit with only 2 Scenes in the build settings. And the APK is 65MB. I just want to ask what really makes the game size big? Is it the Meshes? Number of Polygons in the model? The textures? Also does the scale of the object affects the game size? ex: the bigger scale the more size? Thank you so much.

Comment
Add comment · Show 1
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 Fattie · Apr 05, 2013 at 06:46 AM 0
Share

a common simple problem is, audio takes up a lot of room. do you just happen to have a few music files, or the like, which you forgot to compress?

"Is it the $$anonymous$$eshes? Number of Polygons in the model? The textures?"

on that list only the last one, the first two don't matter.

as an experiment, just slash the size of your textures (ie, the game will look crappy and low resolution) and see if that fixes it.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Eric5h5 · Apr 05, 2013 at 05:18 AM

http://docs.unity3d.com/Documentation/Manual/ReducingFilesize.html

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 Thewhiteaura · Jun 05, 2015 at 10:58 AM 0
Share

Not referenced in that link, commented lines and blocks will add to file size, although not substantial, if you have 100 scripts with 50 commented lines it does add up.

Right, I forgot about that, sorry I seen it with NetBeans and php scripts so I figured the same would happen in Unity/Scripts. (1 character in any lines of those scripts = 1 byte or sometimes more, depending on the character)

avatar image Eric5h5 · Jun 05, 2015 at 11:05 AM 0
Share

Commented lines are absolutely not included, nor would that make any sense at all, since everything is converted to CIL code, which doesn't have any "comment" instructions. For that matter all whitespace is totally irrelevant.

avatar image
0

Answer by abi-kr01 · Jun 05, 2015 at 11:24 AM

size increase is due to these reasons

 1)heavy image used in game 
 2)lots of script, i know they are small in size but still, they are added no mater you use it in your game or not.
 3)anything that is added in  resource folder 
 4)if possible try to reduce the scene count in build settings.
  
Comment
Add comment · 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

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

12 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

Related Questions

android apk size not getting much smaller 1 Answer

I want to separate minigames from my game and download them after APK installation 1 Answer

How to reduce size of android apk 5 Answers

Android Size reduced related to Asset 0 Answers

What is APK file size difference in each unity version 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