Build fails over resource file because of animation spritesheets
Hello guys,
when I try to build my project, the build fails and says, that the resources file is over 4GBs. It's odd because windows says the resource folder has 440MB. The root of evil are animations which I store in spritesheets. Every spritesheet is aprox 2456x1680 pixels and right now, I have 5 units (there will be more), each has 6 factions (different color or texture variation) and just 2 animations (attack and defense, but I need to add something like movement anim aswell). Each sprite sheet has about 4mBs in Unity (in windows just 440kB[?!] :wuuut: ) so that makes 5*6*2*4 = 240MBs.
Please, give me your suggestions on what is better way to store and access animations. Or do you think that changing the import settings will solve the problem?
Answer by ce7ec · Jul 09, 2018 at 11:44 AM
So I found a solution (propably just temporary), I crunch compressed the spritesheet and it reduced the size of spritesheet dramaticaly and now it works. I hope the crunching will be enough for all units and animations
Your answer
![](https://koobas.hobune.stream/wayback/20220612170326im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Help me filed to re-package resourcse in building ? 0 Answers
Do manifest files work the same way in a Unity gradle build vs. an exported one? 0 Answers
Running the game does not work 0 Answers
Unity project build issue 0 Answers
il2cpp.exe did not run properly! -- I really don't know what this means? 0 Answers