4.7.6 project and package too big

Hi guys,

I have a project with 476MB assets, it has produced a 1.6GB android package, that’s amazing. and project directory increase to 13.8GB.

To reproduce this:
you can buy the 100+ magic particle effects package in ue4 marketplace,
1, add to project
2, place some to scene
3, package android(ETC1)

you will find that a 2048x2048 texture Bubbles_05 cooked to 16MB, in cooked directory, the source uassert file in content directory is 448KB.

Cheers
Omega

i recommend you use Tree size free explorer plugin to check file size, like the Size map in unreal engine, it’s really good.

i have a test, the same 2048x2048 texture
bubbles_05.uasset 461kb
export to a .tga file 16,385kb
open with photoshop and save as png file with default settings. 213kb

So, it seems Android(ETC1) use tga format. if this is limited by hardware, but i think if editor use png format directly will be a good choice, i mean .uasset file contains source png data directly if asset is texture.

as you see: a 213kb png file store in 461kb in editor, and package to 16MB in android(etc1).

Hi Omega,

I spoke to the Android dev about this, and here was his advice:

A 2048x2048 alpha texture in ETC1 will be stored uncompressed and will take 16MB. Lower the resolution; I doubt it needs to be that high for an Android device for particles.

Other alternative is to split the rgb and alpha components into separate textures so they can be compressed and modify the material to sample from the two textures with same UVs.

Hope this helps!

Hi wittlief,

Thank you and android dev, and thanks for your advice! this really helped me.

Have a nice day ^ ^

Cheers
Omega

Hi wittlief,

I have make a test, on android etc1,
2048 rgba texture pack to 16MB,
1024 rgba texture pack to 5.3MB,
1024 rgb texture(with out alpha channel) pack to 0.7MB. but png 0.2MB
so, it shrink to 1/22.8.

Cheers
Omega

emmmm, i found that each project has 327 textures in engine assets, and a lot of them has alpha channel…
I think engine can shrink asset size in this place.