Project freezes on loading when exported to HTML

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

When exported to .exe it runs perfectly.
But when exported to HTML it freezes on the loading wheel screen.
I tried running a server with XAMPP to serve the .html, as well as using the internal Godot server (html5 button on top right of the screen).
Both cases froze at the same time.

No errors were thrown on the browser console, and I haven’t found anything on the docs.

Any ideia how to get this to work?

:bust_in_silhouette: Reply From: frozander

This is a bit old but I just encountered the same error.

It might be caused because of your project settings.
Check this for incompatibilities on the web export

For me, it was the multi-threading. I changed to “Single-Safe” for both the physics engine and rendering. That solved the problem.