I used Godot_v4.2.2-stable_win64.exe to create a 2D game and exported it to web platform. But there was an error message after opening the web page.
Error
The following features required to run Godot projects on the Web are missing:
Cross-Origin Isolation - Check that the web server configuration sends the correct headers.
SharedArrayBuffer - Check that the web server configuration sends the correct headers.
![](https://www.weiy.city/wp-content/uploads/2024/07/image-1.png)
Then I downloaded godot 4.3 at https://godotengine.org/download/archive/4.3-dev6/ and changed setting when exporting the project:
![](https://www.weiy.city/wp-content/uploads/2024/07/1.jpg)
![](https://www.weiy.city/wp-content/uploads/2024/07/2.jpg)
Reference post:
https://godotengine.org/article/progress-report-web-export-in-4-3/
The game can be played successfully after exporting it with the new version of Godot.
Effect:
![](https://www.weiy.city/wp-content/uploads/2024/07/image-2-1024x529.png)
Game address: