Why does it take so long to package for Android?

Hi, if I want to package my Project for Windows it takes up to 3 minutes to create the whole game. But if I want to create the same game for Android it takes hours. My Computer: Intel Core i7-2630QM, NVIDIA GeForce GT540M 2GB VRAM, 8 GB DDR3. Is there a faster possibility?

I think the time is extended due to compiling shaders for mobile and texture compression I believe. Have you tried different settings?

yes nearly all possible

Ok cool, do you still have a log file you can post of the packaging process? Once it has completed does the game work fine on your mobile?

The Log-File is too big it has 4MB but I only can upload 500KB. If the game is complete I can install it on my device but I can’t play it.

Sorry that it comes so late… I uploaded it on Dropbox in the public folder: link text

Wow that’s a lot for a log file :-\ … Ah right ok, so sounds like something isn’t compiling right which is causing the long packaging times and the fact it don’t play. Is it your own project? You could try uploading the log elsewhere and then posting a link here.

If you compile for ‘android’ rather than a specific format like ‘ETC’ it will compile all of the shaders and take the longest of the options.
Try choosing a specific compression to suit your handset.

Hi,

Android, while a single platform, is actually 4 different texture formats (DXT, ATITC, PVRTC and ETC) for 4 different GPU’s (Nvidia, Qualcomm, ImgTec, and ARM).

Texture compression is one of the most expensive things that we can do in the packaging process. We want to compress the textures as small as possible to give your application the smallest download size possible.

Your windows machine (with an Nvidia GPU running DirectX) uses DXT textures, which are actually created in the background by the editor and your GPU so that everything shows up in the editor (which uses your GPU). We only generate the textures you need, when you need them / request them.

You will notice in the future, that if you download new samples they come with pre-compiled textures for some platforms to decrease the cook and load times.

it’s a tricky balance on our end of giving you enough content that you can deploy to the device quickly, while not bloating the download size for everyone to the point where it takes days to download Unreal Engine for the first time.

2 Likes