+1 vote

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

in Engine by (232 points)

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?

1 Answer

+1 vote

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.

by (211 points)

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.