- Home /
Building Player including assets not referenced in scenes included
I had been suspicious of this for some time but recently it seems to be confirmed. I just added a bunch of free texture assets to my project and nothing in the game is referencing them in any way. Yet when I create a build of the project the size of everything increased by more than 30 megs.
Is there an option somewhere I am missing to build the game to not include unreferenced assets?
Answer by CesarNascimento · Mar 17, 2017 at 02:11 PM
Make sure those assets aren't in a Resources folder, as everything inside a Resources folder is included in the build.
silly question: "Assets" folder is also a Resources folder right?
Answer by Alturis2 · Mar 17, 2017 at 02:47 PM
Yep. Thanks. I totally did not get that anything in Resources is always included. I have some asset refactoring to do. ;)