Godot Error message: failed loading wasm file

How to solve the following problem in the game engine? Godot Error message: failed loading wasm file

I wanted to export a game as an HTTP application.

https://docs.godotengine.org/en/latest/getting_started/workflow/export/exporting_for_web.html

Solution

Go into the game directory via shell / command line and start a webserver

python -m SimpleHTTPServer

Visit http://localhost:8000/ and click on the html file.

Now it works perfectly. The default HTML preview with the browser is not working. You need an extra webserver for that.

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Nach oben scrollen