Wasm SIMD unsupported error in console when running Godot 4.5.1 HTML5 export

Godot Version

4.5.1

Question

Good day!

When I export my 2D game to HTML5 using Godot 4.5.1 and run it in the browser (Firefox, Chrome, or Brave), I get the following error in the browser console “Wasm SIMD unsupported”

You can’t just run it in the browser. You need to host it somewhere. Take a look at the instructions I linked in this thread here.

Thanks for the reply, but I’m not running it directly in the browser—I’m running it through Newgrounds, a website similar to itch.io. No matter which HTML5 game portal I upload it to, the same issue occurs on PC; however, on smartphones, the game loads correctly.

Did you enable threads or GDExtension in the web export preset options in Godot? This has steeper requirements on the web host’s side (some HTTP headers must be sent for cross-origin isolation). Consider disabling them when hosting on itch/Newgrounds as these typically don’t deal with those well.

1 Like

The problem is the incompatibility with SIMD, even using an updated and supported browser, it continued showing the error and crashing the game, after compiling the exposure templates without SIMD, trying to disable it by all means, finally I had to downgrade my game to godot 4.3 where SIMD is disabled by default in export, now my game is compatible with more devices and I can test correctly on the PC that I did not allow before

You can also compile your own export template with 4.5.1 to disable SIMD.

I did, for some reason it didn’t work

SIMD is supported on all recent browser versions (including ESR/long-term support releases). Which browser versions did you test?

Firefox 146.0 and Chrome 143, don’t worry, I already downgraded the engine and everything is working correctly

Are you running on legacy hardware? What kind of CPU are you using? Is it something quite old?

I test my games on a Phenom 2 x4, they are 2D and I like them to work on any PC

Unfortunately, you’ll need to custom compile Godot without SIMD support to make games work on such old processors.