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 deets · Feb 17, 2016 at 11:13 AM · unity 5mobilemobile devicesmobileoptimizationfilesize

File size increases on different devices

So we've made a rather simple project for mobile and want to keep the file size as small as possible. We've followed a lot of optimization processes and got it to arround 20 MB.

Unity editor log says it's 20MB the .apk says 20MB when building on a tablet with android 4 it says 20MB

but when building on phones with android 5 it is at 58MB and we can't do anything to get it lower. It's already strange that there is such a big difference.

Any idea what could cause this problem?

Comment
Add comment · Show 3
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 meat5000 ♦ · Feb 17, 2016 at 05:59 PM 0
Share

Different OS, different file formats (perhaps), different required framework etc. Its not so strange.

avatar image SterlingSoftworks · Feb 17, 2016 at 06:28 PM 0
Share

You can see this happen when you build to Windows, $$anonymous$$AC, and Linux as well..

$$anonymous$$y project when I build to Windows is 19.5$$anonymous$$B $$anonymous$$AC: 23$$anonymous$$B Linux: 31.6$$anonymous$$B

I don't find this to be too big of a deal, like @meat5000 said, different OS are going to require different settings when it comes to the builds. :)

avatar image tanoshimi SterlingSoftworks · Feb 17, 2016 at 08:33 PM 0
Share

Filesize differs between platforms because the player itself differs in size. There shouldn't be any reason why the Unity runtime files for Android 5 are 30$$anonymous$$b more than those for Android 4. This sounds more like a change in compression settings.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by tanoshimi · Feb 17, 2016 at 08:35 PM

Immediately after making a build, load the editor log (from icon at top-right of console) and scroll near the bottom - it will give you a breakdown of what's using up all the storage in a build.

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

53 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

Related Questions

Many sprites need to load on mobile devices in unity3D 0 Answers

Mobile Game starts lagging after a while when playing on my phone!!!! Pls Help!!! 1 Answer

Is there any problem in using assets as prefabs instead of just gameobject? 0 Answers

Dynamically changing a mesh doesn't work on mobile? 0 Answers

Take a "Selfie" on a mobile device. 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