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.