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 aeronav1 · Jul 12, 2017 at 07:41 PM · prefabperformancesizeperformance optimization

What Techniques are used for multi-level games and keeping APK size to minimum?

I know about two techniques, one is switching for ARM target only, and the other is deleting unused imported assets, but I feel that since there are many games out there with multiple missions (scenes) and still they run faster than my game and have a size less than 70mb, I maybe missing something else, because I have a game with single scene and it's already 55MB in size (apk), any other ways to reduce size?

Thank you

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

Answer by Bunny83 · Jul 12, 2017 at 10:17 PM

Yes if you can generate levels procedurally as @Cornelis-de-Jager suggested it would result in the smallest footprint. However if you prefer to create level by level on your own you can use AssetBundles. You can export assets as well as scenes (which use those assets) as a single assetbundle. AssetBundles can be loaded from external sources on demand at runtime.

For more information see the manual on AssetBundles as well as the AssetBundle class

Comment
Add comment · Show 3 · 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 aeronav1 · Jul 12, 2017 at 10:31 PM 0
Share

Thank you, I read through the class, it uses www, does that mean it store them on remote server and called on demand, therefore requiring internet connection?

avatar image Bunny83 aeronav1 · Jul 12, 2017 at 11:09 PM 0
Share

Yes, sure. However you can of course download all bundles at the first start of your app and store them on the device. In the end if you want to ship X amount of data to your customers device he has to load X amount of data at some point. If you keep the AP$$anonymous$$ small you need to ship the other data later.

Another solution is to split your AP$$anonymous$$ using App extension files. This will split your project into an AP$$anonymous$$ and an OBB file. However app extension files are just ment to bypass the 100$$anonymous$$B limit on the playstore. If your app is below 100$$anonymous$$B it's better to ship it as one apk.

avatar image aeronav1 Bunny83 · Jul 12, 2017 at 11:38 PM 0
Share

Thank for the information

avatar image
2

Answer by Cornelis-de-Jager · Jul 12, 2017 at 10:07 PM

There are many techniques you can use. But if you want multiple levels and keep it very small, then consider doing procedural generation of your levels.

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

102 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 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

Prefabs / meshes / instances / performance / size 0 Answers

Size & Performance of Roll-a-Ball 1 Answer

Determining the size of a prefab 0 Answers

More than 20 instances of a certain script cause fps to skyrocket, is there something I'm doing wrong here? 0 Answers

Collision Killing CPU/FPS/Performance - Suggestions?! 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