HTML5 'Downloading Failed' error message

I’ve packaged for HTML5 and uploaded to a free web hosting service (000webhost.com) for testing, but I’m getting this error when I try to view the page

Downloading failed:
HTTP error 404 Not Found on file UE4Game-HTML5-Shipping.asm.js
Your browser does not support WebAssembly (and there is no asm.js fallback deployed of this page). Please try with latest 64-bit browser.
Current user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
TypeError: Module.asm is not a function

Browser is 64-bit version and I’ve tried on Chrome too and get the same thing… any ideas?

Try using the Network Monitor view in Firefox Developer Tools, Network Monitor — Firefox Source Docs documentation, to debug which files it is attempting to download, and fails on.

In particular, ideally you would upload a .wasmgz file for the browser to download when starting up.

You can try cross-referencing the downloaded files with that of http://mzl.la/webassemblydemo, which is hosting a gzip-compressed wasm build. That should give a view as to what files are needed to run.

I’ve rebuilt the project in 4.18 and it seems to have solved the download problem - now it gets stuck on the ‘Loading engine’ message. I’ve built and uploaded a blank project and that seems to work fine. I’ll try to rebuild my own project using all the same settings, I’m not sure how else I can troubleshoot it though.

Got it working! Thanks for the help :slight_smile: It looks like Facebook doesn’t like the free hosting I used, so I’ll get something better. If you want to check it out, here’s the link - it’s a version of an 18th century musical dice game, it generates a random minuet, a kind of 18th century ballroom dance

https://wurfelspiel.000webhostapp.com/Wurfelspiel2-HTML5-Shipping.html