HTML-5 Package size
We're currently re-working a project for HTML-5 distribution. I've been doing various tests with different projects and I can't seem to get an acceptable file size for the packaged content. I've grabbed Tappy Chicken, created a build with it and I get a very nice and small 30mb.
When I try to compile an empty scene (new project, new empty level), I can't get lower than 150mb! When I compile a scene from our project, with all content, I get pretty much to the same result, ~150mb.
I've compared Tappy Chicken package settings to my settings and they are pretty much the same.
Any idea why a default, empty scene, will create a package to be 150mb? (Unreal 4.12.5)
Are there any settings that I need to tweak in any of the .ini files to improve the packaging process?
Thanks in advance for your help.
asked Aug 26 '16 at 02:37 PM in Packaging & Deployment
Thanks for bringing this to our attention, I have since entered JIRA UE-35333 for this issue. I tested HTML5 packaging alongside Windows, iOS and Android. I did not notice such an increase in size as I did with HTML5.
However as some guidelines, we suggest moving any non-utilized files from your project prior to packaging. Make sure that the textures you're using aren't taking up too much memory either.
HTML5 isn't necessarily a mobile platform however it is more closely related to mobile than to an OS therefore, we suggest using the 'Reducing APK Package Size' for some tips.
I'd also suggest looking at this link for Reducing Your Package Size.
answered Aug 30 '16 at 07:54 PM
Thought I'll share more tests I've been doing:
In 4.10: HTML5 size package: 40 mb In 4.12: HTML5 size package: 161 mb
I also tried with settings compressed and uncompressed PAK in 4.12. Same size. UE4Game.js doesn't get compressed to a js.gz file like it does in 4.10.
Is compression broken in 4.12 or do I have to force it somewhere a different way?
answered Aug 30 '16 at 02:40 PM
I have also been very annoyed at the immensely huge package sizes.
Does this option help at all?
answered Aug 26 '16 at 07:58 PM
I've tried with and without creating compressed package. Same result. The funny thing is, if you look at Tappy Bird deffault project settings, it's set to not even create a compressed package, yet, the size is 30 mb compared to my empty scene for 150mb.
I also went manually and unchecked all plugins, same result.
answered Aug 27 '16 at 01:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here