WebGL formats tend to be more sensitive than desktop builds. I'm not the right person to properly explain why, but I work in Unity, and one thing I can say anecdotally is that errors that wouldn't crash a Windows build will sometimes crash a WebGL build.