I've recently deployed a Unity application to the web using WebGL. I have Sentry integrated on the frontend logging exceptions, and I've added the Sentry SDK to Unity. The frontend seems to log no problem, however Unity seems to be struggling. Sometimes I'll get errors reported but a lot of the time I don't. To my knowledge there's no explicit onerror callback I can hook into. I've tried catching the exception in managed code and then reporting that to the frontend, but that doesn't seem to work either.
Any help would be appreciated