Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
4
Question by thesh · Jul 27, 2015 at 09:25 PM · androidunity 5shaderoptimizationresources

How do I Optimize Resources/Unity_Builtin_Extra

I'm relatively new to unity and I've been working on a small Android game. As I've worked on it however, I noticed the size has been visibly increasing. Following information on how to figure out what's taking up the most space. As a result I did find some things like textures I forgot to resize but first and foremost this showed up:

 45.9 mb     58.9% Resources/unity_builtin_extra

Furthermore:

 Textures      18.7 mb     24.0% 
 Meshes        3.8 mb     4.8% 
 Animations    0.0 kb     0.0% 
 Sounds        0.0 kb     0.0% 
 Shaders       46.0 mb     59.0% 
 Other Assets  627.4 kb     0.8% 
 Levels        4.1 mb     5.3% 
 Scripts       601.0 kb     0.8% 
 Included DLLs 4.1 mb     5.2% 
 File headers  105.9 kb     0.1% 
 Complete size 78.0 mb     100.0% 

Judging from this information I would assume that I have some sort of amazingly large shader that's bloating the size of my game and that shader is related to unity_builtin_extra but I have no clue how I'm supposed to hunt it down and change/remove it. I've tried to looked around for information but none of the ones I discovered have been answered.

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 warmaha · Jul 29, 2015 at 12:48 PM 0
Share

I have noticed same kind problem in very small project. There is nothing special in project, no custom shaders or anything. Project has terrain, small amount of 3D objects with standard shader and very simple UI, so I would think shaders should not take much space at all.

Still after building for android shaders are 7.5$$anonymous$$B which is almost half of assets, building for windows shaders are 6.3$$anonymous$$B, which is still like huge amount. I have not found any good way to find out what goes to unity_buildin_extra / shaders as default in this case. Really need some way to check out what happened in build and able to fix this, so build sizes doesn't get out of hand.

avatar image Sparrowfc · Jan 12, 2016 at 07:50 AM 0
Share

if the shader takes up to 46 mb, it's very likey that you add standar shader into the Always included shaders list in graphic settings

avatar image DarkCooker · Jan 14, 2016 at 11:43 AM 0
Share

Hi thesh,

I experienced the similar problem that having large Shaders and Unity_Builtin_Extra sizes. How could you resolve this problem eventually?

Thanks! $$anonymous$$40

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by thesh · Feb 13, 2016 at 08:04 PM

I later found that Resources/unity_builtin_extra seemed to refer to the entire standard asset folder. In general I went around cleaning basic unity assets that I imported but didn't use and that decreased the size by a significant amount and thus solving my problem.

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 bakiet · Feb 24, 2016 at 08:33 AM 0
Share

@tresh how do you can clean basic unity asset, deleted folder standard asset? or how.

avatar image stm91 bakiet · Feb 24, 2016 at 10:54 AM 0
Share

If you imported standard assets into your project you can just delete all the ones in the "project"-panel that you don't use .

avatar image Hoorza · Dec 06, 2017 at 11:24 PM 0
Share

Deleting standard assets folder will not clear Resources/unity_builtin_extra completely. I have deleted the folder and still got 1.4 mb. I seem to recall that someone mentioned that this is also default icons that you can find in Unity like "Checkmark" or "$$anonymous$$nob" sprites available in any build.

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

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to detect if the Device can run the shader ? 0 Answers

Realistic metalic on mobile 0 Answers

Unity / Google Play Services SDK Android Setup- What to write in Android Resources / Resources Definitions 1 Answer

My simple shader not working correctly on Android 0 Answers

Mobile development - the resolution of textures and size of scenes 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