Failed loading file 'My Game.wasm'

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Schweini

I exported HTML5, but int he browser this error comes. Any ideas?

Did you try to open the file from the local file system? (file://)
If that is the case then try opening the project from a web server (http(s)://).

If that’s not the case then try a name without a space in it.
Is that the whole error message? Which browser/server do you use?

wombatstampede | 2019-06-20 13:36

:bust_in_silhouette: Reply From: luislodosm

Many browsers, including Firefox and Chromium-based browsers, will not load exported projects when opened locally per file:// protocol. To get around this, use a local server.

One example is to use Python. In the directory where you exported your html file to, run: python -m http.server 8080

Then open the url http://localhost:8080

eddex | 2020-04-24 16:29