Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Downloads don't work on game with SharedArrayBuffer support enabled

A topic by Aezart created Mar 11, 2023 Views: 713 Replies: 6
Viewing posts 1 to 7
(+3)

I just uploaded a new game two days ago (https://aezart.itch.io/checkers) and there seems to be problems downloading it.

The game has both a web build and downloadable builds available. It was built using Godot 4, so I had to enable SharedArrayBuffer in the itch project settings to get the web player to work.

Enabling SharedArrayBuffer seems to have broken the ability to download the game. This is what I see:

On Chrome (or other Chromium browsers like Vivaldi), after clicking Download on any of the builds, I get redirected to the “Thanks for downloading” page, but no download actually starts.

On Firefox, I get redirected to a page with this error:

Blocked Page

An error occurred during a connection to w3g3a5v6.ssl.hwcdn.net. 

On this block page, I can see the full URL of the direct link to the download on the CDN, and if I copy and paste that URL into a new tab I am able to successfully download the game.

I also confirmed that this same issue happens on my friend’s PC on his own network. The only thing we have in common is that we both use Cox as our ISP.

My guess: the cross-origin headers required for SharedArrayBuffer don’t play nicely with the call to the CDN to download the game.

Disabling SharedArrayBuffer fixes the issue, and I’m able to download the game. But without SharedArrayBuffer, the web build doesn’t work so I’m kind of stuck.

I am experiencing the same issue with my project https://r0ckems0ckem.itch.io/peculiar-potions . Seems to be happening on every PC I have tried

Confirming @aezart’s report - downloads and sharedArrayBuffer support seem to be incompatible, but each work fine on their own. For now I’m duplicating my games to support a completely separate ‘web’ version.

(+1)

There seems to be an issue for this already: https://github.com/itchio/itch.io/issues/1372

I tested this today on a whim and I found that downloads on Chrome are currently working, but Firefox is still having the same issue. I don’t know if something has changed regarding Chrome support or whether I just got lucky this time.

Just wanted to chime in that I found this out the hard way when deploying for a Jam. Enabling SharedArrayBuffer bugs out downloads for Firefox. Chrome seems to be unaffected.

Looks like now it is working:

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