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 andrewwebber25 · Dec 05, 2017 at 02:09 PM · sizebuildingbuild settingsstorage

App Builds are very large

Hey just wanted your guys opinion on something. Ive been working on this app for a very long time and have pretty much made all the levels (36 to be exact). I have a total of 37 scenes for the project (all the levels plus one extra for the main menu). For testing purposes, i build just the main menu and the very first level to test on my android. It take a long time to build just the two scenes and when it does, its over 66mb! That sounds like a lot for just a menu and one level of a 2D platformer that only takes about four minutes to complete. The game is similar to Mario so imagine the first level in that game, kind of. Is this a huge amount or what? I would hate to see how big the whole game would be, I feel like my computer will crash before it can successfully build the whole thing. When I do build and publish will it become compressed? I admit that I do have a lot of assets but if they are not being used in the actual game do they still take all that memory? Ive been working so hard on this and I would hate the game to be too big to upload or too big for anyone to want to download. Any advice?

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 Kwergan · Dec 05, 2017 at 02:16 PM

Any textures? The art side of the game usually makes up the most of the size of a game. A single uncompressed image might be a third of that size. Mobile games are usually optimised with the size of textures and number of different textures used. If you are using .png formats for images or .wav for audio (which are usually uncompressed formats) that will also contribute to the size of a build. The time a game takes to build is largely due to the number of smaller files rather than the overall size.

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 andrewwebber25 · Dec 05, 2017 at 02:39 PM 0
Share

Ill have to check how many textures im using. $$anonymous$$y images are mostly pngs I think. I read somewhere in the Unity Documentation that it is optimized to use all images the same so even if I make them in photoshop and save them with lots of layers, it will still be "flattened" when published. I just did a test and out of a 70mb build, my main menu is about 65mb of it. Im not sure why it is so large. It has the main menu, a play button that will take you to the world select screen which will then take you to the level select. Then the menu also has the shopping button that takes you to where you can buy items. All in all I would say that the $$anonymous$$enu scene has 4-6 screens layers on top of it. That still doesnt sound like much though as besides the images, its mostly script files. Do you think that it will actually be that much when loading it to the storefront? How big is too big?

avatar image Kwergan andrewwebber25 · Dec 05, 2017 at 03:14 PM 0
Share

I'm not sure I can comment on uploading to a store. How big are the images on their own?

avatar image
1

Answer by NickJVaccaro · Dec 05, 2017 at 03:29 PM

You can get a lot of build info from the editor log, see this article: https://docs.unity3d.com/Manual/ReducingFilesize.html

66mb isn't huge, though for a mobile game it's a bit on the larger size. Once you get above 100mb, at least for google, you have to split it up into multiple files. Unity has a way of handling this, but I personally never got it to work with my games. I would suggest going through the editor log and seeing what exactly is taking up the most space and trying to lower it from there.

Also note that just because 2 scenes take up 66mb, that doesn't mean that number is going to scale linearly as you build more scenes. It's possible that ALL of the art is being loaded up front, so each new scene might only add a few kb of data.

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

72 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

Related Questions

Does Unity decompress Truecolor RGBA format textures when loading? 0 Answers

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

Does removing scenes from build settings reduce the file size of a game? 2 Answers

Building with Extensions 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