- Home /
Does Unused Assets Take Space In Builds?
For instance, i have an "A" asset in library but i never used it anywhere in game. Does it includes in builds and take spaces? Thanks in advance.
Answer by TobyKaos · Jul 07, 2015 at 08:37 AM
If no reference is set to A. Then the asset A is not include in build. Except if asset is in Sprites folder, is used in a prefab.
If you create a folder like Resources and A is in. If you do not use it, then it is not include.
Actually, some types of files are always included : - Every recognized script files inside the asset folder (and sub-folders) are included. - Every assets used in those scripts/text files are included. - Everything in the Resources folder is included.
So it's really important that, at least for the scripts, people clean their project before putting out a build.
Your answer
![](https://koobas.hobune.stream/wayback/20220611230136im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
How to make game moddable? 1 Answer
Create / preserve file in asset folder. 2 Answers
Can AssetDatabase.LoadAllAssetsAtPath Load All Assets Recursively? 2 Answers
how do i get weapons onto my game? 2 Answers