Skip to main content

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

Is Embed Game with SharedBufferArray not supported?

A topic by chmos created Apr 23, 2023 Views: 146
Viewing posts 1 to 1

I know SharedBufferArray is an experimental feature, I got my project running within itch.io though. It uses Godot 4, which requires SharedBufferArray.

Even though it works on itch.io, when I embed the game on my website or on a local html file, it does not want to run. It usually gives some error about Cross-Origin-Resource-Policy being missing, which is true; it is not set in itch.io I can see from F12. However, with COEP: credentialless enabled, this shouldn't matter. I am using the most up to date version of Firefox and Brave to test this, but maybe that is still not compatible.

I've played around with adding the right headers to my own website as well, but to little effect. It seems like the browser demands that the headers in the imported resource are set up a certain way, and it does not like how itch.io did it. So I am wondering, has anyone else got this working? What can we expect in the future in terms of support for this? I would really like to put Godot stuff on my website soon.

Similar: https://itch.io/t/2571203/html5-sharedarraybuffer-error-on-firefox

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