Do JPG and other formats used for Materials increase the Size of the Game?

Hi I am developing a mobile game where i use a lot of pictures for materials (more than a thausand planed) and i don’t understand wheather or not they will increase the size of the game after building. What I mean is do the .jpg AND Material saved in the final build or only the Material which is only 3-4kB?

My guess is that they do but i couldn’t find anything about that in the documentation.

I would really appretiate your help.

Thanks!

Yes, textures increase the build size

1 Like

yes, think about it, if you had 60gb of images do you think your build would store them but stay at 40mb?

1 Like

Materials need the textures. Keep in mind that Unity has various Texture Compression formats that can further trim down the file size.

The following articles are worth reading:

1 Like

If you’re aiming for a very small download size (which many people want to achieve for mobile) you can look into using Addressables / Asset Bundles to shrink the initial content down then download extra content as its needed.

Here’s the official tips to minimize build size: Unity - Manual: Reducing the file size of your build

1 Like