• 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 Capricornum · Feb 08, 2021 at 10:52 AM · erroroptimizationsizemacosxmb

The Build Size for an empty standalone project is so big

Dear Community,

When I create a new 2D template project in Unity and deploy a build for MacOS, that build is 60mb large.

I have spent the last 2 days researching ways to decrease the size of Unity builds. I have found a lot of information on how to compress textures, sprites, sounds and other assets but no (up to date) information on how to decrease the overhead that comes with Unity itself. I think 60mb is very big for nothing in it.

Using the Compression options LZ4 and LZ4HC specified in the Build Settings Window had no effect. Deleting all unused packages (like Timeline and TextMeshPro) had no effect. So I am out of ideas.

I would greatly appreciate some help with my problem. Is it possible at all, to decrease that empty project build size? Where do all those megabytes come from?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Llama_w_2Ls · Feb 08, 2021 at 11:05 AM

I've found that the build executable file is actually very small, but the folders and data that it needs are quite large.


First of all, the UnityPlayer.dll, is a couple of megabytes large on its own. For one of my smaller project, it's around 19mb. This size is huge, regardless of what's inside your project.


Next, if you've built to PC, you'll see the folder, MonoBleedingEdge. This folder varies in size from my experience, but it is also a few megabytes large.


Finally, there is the data on the project itself. Such as textures, assets, models, etc. This accounts for a larger portion of your project relatively, as it scales.


To sum it up, the Unity game engine provides powerful tools for rendering game objects and organizing your development workflow, at a cost of having large dll's, altering your file sizes. If this bothers you, I would recommend having a look at smaller game engines, such as Godot maybe, which might provide less engine data, making your project file sizes a lot smaller. @Capricornum

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 Capricornum · Feb 08, 2021 at 11:41 AM 0
Share

Thanks for your feedback!

True, Unity is powerful and comes at a cost. I'm still hoping there is a way to decrease that cost. Researching articles about this problem from 8 to 10 years back, I learned that empty projects at that time only had about 20mb. They were still empty and you had a scene and a camera I assume.

So I will keep looking. Trying other engines would make sense. But I think I'll rather live with those 60mb if I have to. I am really way too dumb to learn yet another engine. :)

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

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

How to reduce Mixamo animation size? 0 Answers

Unity large level size in build 0 Answers

What most make the APK size big? 2 Answers

Android Loading scene / loading assets problem 1 Answer

Fast but no Exceptions build size (iOS) 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