Hi!
I need to build my game for web to run on a server that doesn’t support multithreading.
I believe I disabled multithreading (see screenshot), but still getting this message (see another pic). What am I doing wrong?
I really appreciate any help you can provide.
The HTML shell changes across Godot versions, so you’ll need to recreate your shell based on the official 4.3 shell. Godot 4.2’s shell always displayed its SharedArrayBuffer error as there was no toggleable thread support.
Ok, this is a very useful piece of information! I’ll recreate my HTML shell later.
But still, when I’m trying to export with no custom shell and run it locally in a browser, I’m getting “Failed to Fetch” (see screenshot). Shouldn’t it be able to just run locally in a browser when multithreading is disabled?
In the browser’s console, I still see errors about CORS (see screenshots)
And thank you so much for trying to help! I’m new to Godot and all web things, it’s a bit rough so far. @Calinou@pennyloafers
Modern web apps generally don’t work from file:// URLs anymore due to browsers’ security restrictions, so you need to serve them using a local web server instead.