How do i package for html5?

the package is complete and it does not show errors this is output log


If you follow our [HTML5 documentation][1], you’ll be able to successfully launch your project on a browser locally.


Sharing and Releasing Projects for Unreal Engine | Unreal Engine 5.1 Documentation

it works with firefox 64 bit but not with crome and how do i add that project to the web page. i have seen the HTML5 documentation

If you’re updated to the most recent version of Chrome, it should work for you.

If you upload these files to a website/server, it should work for you:

  • test_blankGame/
  • index.html
  • Readme.txt
  • UE4Game.js
  • UE4Game.js.mem
  • UE4Game.js.symbols
  • Utility.js

Let me know if that works for you, thanks!

I packed a 1 person game it was executed but when I open my level or game it shows error…in firefox …!

Are you packaging with 4.13.2 or 4.14.0? Do you have a link that you can share with us for additional investigation?


these are text files I have copied from the firefox browser and yes I use 4.13.1


You don’t have enough memory available for your project on the browser. The error states you need to compile with -s TOTAL_MEMORY=# where the number is higher than what it’s already set at in your project.

uncaught exception: abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 1073741824, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")