Windows Build Folder HUGE! 400+ MB

Okay, I looked in the Editor Log and saw I had some really large textures. I trimmed them down and my editor log now looks like

Unloading 902 unused Assets to reduce memory usage. Loaded Objects now: 2507.
Total: 7.812678 ms (FindLiveObjects: 0.257162 ms CreateObjectMapping: 0.084105 ms MarkObjects: 7.142115 ms DeleteObjects: 0.328153 ms)

Textures 57.9 mb 75.7%
Meshes 5.7 mb 7.4%
Animations 454.1 kb 0.6%
Sounds 1.0 kb 0.0%
Shaders 3.9 mb 5.0%
Other Assets 2.2 mb 2.9%
Levels 1.4 mb 1.8%
Scripts 806.5 kb 1.0%
Included DLLs 4.1 mb 5.3%
File headers 200.0 kb 0.3%
Complete size 76.5 mb 100.0%

76MB I can live with! But the output builds an EXE which is about 15mb (I can live with that) and a [mygamename]_data folder.

That fold is HUGE! Peeking in side I have a resources.resource file that is 327mb! What is it? I’ve imported a lot of assets into my project, but I’m not using all of them. I’m assuming the build process weeds unused assets out!?

So, what am I missing here? I’ve trimmed and trimmed my textures until they are ugly! I’m missing something for sure!

Any advise is VERY welcome.

Update!.. I just deleted the offending 335 mb resources.resource file and the game still worked!.. Go figure!

Unity will include all assets Into your build that are included in your Resources folder, since they could be loaded at any time.
Just check what’s in that folder and throw it out if you not need it.

1 Like

fffMalzbier, THANK YOU! Either I inadvertently drug an asset to that folder or it imported into that folder. It was my entire music collection! LOL. I knew had to be something I was over looking.

Problem solved!