Skip to main content

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

[HTML5] SharedArrayBuffer error on Firefox

A topic by Eranot created Jan 01, 2023 Views: 551 Replies: 4
Viewing posts 1 to 4

Hello! I'm stuck with an error on my HTML5 game saying that the correct headers for the use o SharedArrayBuffer are not being sent, but only on Firefox! On Chrome or Edge looks like it's fine.

I have selected the check "SharedArrayBuffer support" on my game configuration (and after that, the game started to work on Chrome, but not on Firefox). Also, I read the statement about this function here.

Weirdly enough, the game kinda works on the embed link. I say kinda because although it does load, the mouse positions are always looks wrong, and fullscreen is way off (on Chrome it looks right).

Links for testing:
Main link (works on Chrome, not on Firefox): https://eranot.itch.io/gamejam-starterkit
Embed link (works on Chrome, kinda on Firefox): https://itch.io/embed-upload/7091220?color=333333

Chrome version:  108.0.5359.94 (on Ubuntu 22)
Firefox version: 108.0.1 (on Ubuntu 22)

Thanks for the help!

I re-read this explanation and now I got it. Looks like we can't do anything until Firefox supports the right header (or other option is created). Kinda wanted to have an option to change the header also in the main page, but I'm not totally aware how this would impact the security. It's a shame for Godot 4 users, as we cannot disable the SharedArrayBuffer use =/

(2 edits)

Goodday. Tell me please;

I created an account in the browser (on the website) itch.io 

But when I wanted to bind it to the desktop application, I didn't succeed.

Do i need different accounts for the browser and for the application?

I can confirm Godot 4 games do not load on Itch pages, despite FireFox now supposedly supporting everything that's needed

(+1)

Looks like Firefox does not support yet. For now, to do so, itch should request a trial in this link to the "COEP: credentialless" feature. This should  be straight-forward tho. Maybe mods could pass this request to Leafo?

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.