There are a few threads about SharedArrayBuffer. As of writing, it seems like this works in Chrome, not in Firefox; in Firefox, you get an error about “SharedArrayBuffer is not defined.”
From what I can see, Firefox (102.0) correctly has the feature enabled within the browser, and receives the headers it expects:
Cross-Origin-Embedder-Policy: credentialless Cross-Origin-Opener-Policy: same-origin
Despite this, the JS error still appears, and my game doesn’t run. Am I missing something, or is this just not working yet?
Repro steps:
- Create a new Godot game
- Configure HTML5 export with the export type set to “Threads”
- Upload it to Itch via Butler
- Edit the game page and check “SharedArrayBuffer support — (Experimental)”
- Try to play it in Firefox