I've been working on my game for almost 2 weeks now using the Godot game engine. I knew one of the main rules was that it had to be playable in the browser, so I've been using the compatibility (GLES3) renderer from the start. I've only tested it in-editor though, so I haven't attempted to export it until today. I'm not entirely sure what the issue is, but I've spent several hours trying to find a solution. I've made over 20 different exports by now and the issues literally boil down to Godot's own built-in functions. I've attempted to re-download export templates, switch to older versions of Godot, copy the files over to a new project and export the game from there, mess with Itch embed options like SharedArrayBuffer support, I even got some friends to test out both the web builds and other Windows and Linux versions. The web build errors were shared amongst everyone and nobody had issues with the other builds. I'm pretty much at a dead-end, and I don't think I've got any other option than to ask for help here.
