Cross Origin Isolation and Shared Array Buffer missing

Godot Version

4.2.2

Question

Essentially, I’m making a game and it’s about half finished now but I want to start testing my game to optimize it for the web. I was planning to upload this game to Crazy Games and test it there using their QA tool. However, when trying to run my game I faced this error:

Error
The following features required to run Godot projects on the Web are missing:
Cross Origin Isolation - Check web server configuration (send correct headers)
SharedArrayBuffer - Check web server configuration (send correct headers)

This also happens when I run the index.html file in my browser (outside of Crazy Games). The game does run on the web when I run it from the remote debug option on Godot though. However, it runs very poorly, it barely gets to 40fps and when running it normally it can get over 500fps. This is why I want to test my game in the actual platform, to optimize my game accordingly. I’ve also looked for solutions in Google and this forum but haven’t found anything relevant.
How can I fix this error for my game to run? Thanks for your time.

The game host has to provide that option. Though it may be worth upgrading to 4.3 beta as it removes the requirement. This blog post about the progress for this change even names Crazy Games as a point of contention to be addressed.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.