Hey, which version of Godot did you use? I've heard things about it being a bit iffy for browser games.
Godot 4.2. Looking online it was recommended in 4.0 that earlier versions of Godot should be used for web games. I'm not sure if that's still the case with 4.2.