# How to reduce the size occupied by my video animations?

I have a mobile game but my build size is currently 4gb. Furthermore, it crashes on open and I suspect it has something to do with the huge build size.

In my project are 10 animations made of a series of images, each one using around 250-300 images. Each one is quite large as the animation takes up most of the screen so they are high resolution. What can I do to reduce the build size?

I have tried converting it into a video file and using the raw image component to display it as a movie texture, however, it seems unity doesn't support videos with alpha channels, and the alpha channel is critical to my animation.

I thought about combining them into a single image, but lets be real, if each image is more than 1080p, then combining 250 - 300 images into a single file will be massive.

So what can I do to reduce the size of the animations?

• You'll have to look at atlasing, alpha trimming, packing algorithms, etc. It's a huge complicated problem. We had to deal with this exact issue on the job. But I left the project before we had our solution. – Almo Aug 13 '17 at 2:30

• Lastly, without knowing what the animations are, this advice may be useless, but you could hypothetically... I've also seen some videos on YouTube from a user called "GameHut" where he talks about how he / his team back in the day created very high quality animation or other effects on very low resource budgets. This one might be of particular interest to @MatthewInglis – Draco18s no longer trusts SE Jan 8 '18 at 18:17