-
-
Notifications
You must be signed in to change notification settings - Fork 55
Sentry: (Error) SentryEvent processing failed. UnityEngine.UnityException: get_isDebugBuild can only be called from the main thread. #277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The bug report is for the Sentry SDK for .NET version 1.2.0? This one? https://www.nuget.org/packages/Sentry/1.2.0 Since then we shipped a new SDK (Sentry.Unity) that's being built in this repo. We have docs for it here: https://docs.sentry.io/platforms/unity/ Could you give that a try and let us know if the problem goes away? |
@bruno-garcia Sorry, my fault. I'm using Unity package 0.4.3, so it happens on Unity package. |
@bruno-garcia is there any solution for this? Is causing Unity Editor freeze and we had to remove the package to keep working. Many Thanks!! |
Hey, @ArnauKokoro! Which version of Unity are you using? I can't seem to be able to reproduce it. |
Hi @bitsandfoxes! We are using 2020.3.13f1. We can reproduce it closing the editor and opening it again. Thanks, we will keep on track. |
Hi @ArnauKokoro! We just released 0.5.0 today that contains the fix for this issue. I would very much appreciate it if you could give it a try! |
Sorry for the delay. As @bitsandfoxes said the new release 0.5.0 should have addressed this issue. |
@bruno-garcia @bitsandfoxes Hi guys!! Just try it with 0.5.1 version and now it never starts the scene clicking on play button on the editor, it stuck loading and never plays. I tried also without Capture Editor check. Thanks. |
My fault, it was not Sentry. It works perfect!! Thanks!! |
That's great news. Thanks @ArnauKokoro for trying and giving feedback 🙏 |
Environment
How do you use Sentry?
Sentry SaaS
Which SDK and version?
[email protected]
Platform?
Mac M1 Unity Editor with iOS Platform selected
Steps to Reproduce
Expected Result
No errors thrown on startup
Actual Result
It logs an error:
Sentry: (Error) SentryEvent processing failed. UnityEngine.UnityException: get_isDebugBuild can only be called from the main thread.
The text was updated successfully, but these errors were encountered: