Godot 4 beta web build requires Cross Origin Isolation and SharedArrayBuffer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By OgGhostJelly

I’m trying to export my game to itch.io and get this message

Warning!
The following features required to run Godot projects on the Web are missing:
Cross Origin Isolation
SharedArrayBuffer

what do I do? (btw Im a bit of a noob so please speak in english)

Edit: ok, after enabling SharedArrayBuffer on itch.io I still get the same error message when using firefox but on chrome I get:

Warning! The following features required to run Godot projects on the Web are missing: 
WebGL2

i would also like an answer to this question.

WolframR | 2022-10-24 05:37

1 Like
:bust_in_silhouette: Reply From: ghoulbroth

It looks like this was raised and then closed on the repo, but I can’t really tell what the conclusion was. It seems like itch needs a change on its end.

itch.io does have a setting (that should be changed by the uploader) to enable the appropriate headers. It’s not enabled by default as it breaks some existing games when enabled.

Calinou | 2022-10-25 15:44

Ah you’re right, I found the thread saying they’re offering a project setting to enable them.
Developer Updates - itch.io

ghoulbroth | 2022-10-25 20:35

Hm enabling the option removes the error message for Chrome, but all nodes seem to be invisible. I made a test project with UI elements and my mouse cursor changed correctly, even when I couldn’t see the nodes.

ghoulbroth | 2022-10-26 05:22