Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

SharedArrayBuffer not defined error in Firefox, works in Chrome

A topic by NightBlade created Jul 18, 2022 Views: 387
Viewing posts 1 to 1
(+1)

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
This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.