Problems with Packaging in Unreal4 for HTML5 -


i'm trying pack project html5, cannot make less 159 mb. i've tried configurations below on version 4.16.3 , 4.17.1.

list of files produced engine

the packaging options being used can seen in picture below. i'm using blacklist (which being read 'cause appears in log) exclude content no use being packaged.

same project when packaged windows gives 82.4 mb (which find big since it's simple project... uses 19.7 mb on .pak file, 50.1 mb on ue4game-shipping.exe , 14 mb plugins don't know how rid off since don't use of them).

packaging options, blacklist , plugins not being used packaged

i have no starter content since last attempt reduce size begin new clean blueprint project no starter content , migrate level going packaged new clean project.

does know can make smaller? in advance help!

tldr: try webassembly

 regarding content/asset size (~17mo)

i can see have done work @ using important option "cook maps" (and not "cook in project content directory").

perhaps can try "exclude editor content when cooking" don't think can out of it, because seems me used blacklist achieve same.

regarding ue4-game-shipping asm js (~150mo)

known issue

it seems there unresolved issue stating "by design"!

packaging html5 seems have grown in package size

disable plugins

you try various mobile , html5 answers on how reduce engine size disabling plugins. instance (old thread) : https://answers.unrealengine.com/questions/144136/how-to-reduce-html5-package-size.html

 asm deprecation, try webassembly

asm.js going deprecated in 4.18 (see trello roadmap) :

packaging ue4 html5 use webassembly default. asm.js being deprecated , support being removed ue4 major browser vendors moving towards webassembly due reduced compilation time , improved execution speed in web browser.

also, seems webassembly more size optimized (see answer html5 404 error (and large file sizes?)) :

try doing build targets webassembly. replace .asm.js file smaller .wasm file. enable gzip compression of .wasm file serve .wasm.gz file should come down 10mb.

so perhaps should switch new format , report here if helps!


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -