Exporting Godot 4 demo game (godot-4-3d-third-person-controller) to HTML5

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

Hello,

Tried to export the Godot 4 library sample game (GitHub - gdquest-demos/godot-4-3d-third-person-controller: Godot 4 demo with a plug-and-play 3D Third-Person Shooter (TPS) character controller inspired by games like Ratchet and Clank.) to an HTML5 web game.

Showed missing headers in SharedArray Buffer & Origin Isolation; solved this using a Node.js/Express server with correct headers (using CORS npm package)

But after this, the game fails to load and chrome crashes after the game’s progress bar loads 50%.

I understand Godot 4 team is working on WebGL & HTML, but is there anything I can do to fix or contribute to this issue?

Thanks

  • J

Update: trying to convince a stellar team to move from Unity to Godot. Just need this demo to work in my pitch deck. Would really appreciate any directionality in this regard.

joshk | 2023-03-24 07:37

What version of emscripten are you using?

wetbadger | 2023-03-24 11:42

using emscripten 3.133

joshk | 2023-03-25 13:16