-
-
Notifications
You must be signed in to change notification settings - Fork 56
Crash on Android 5 devices after some seconds #1211
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
moreover, I am using SentryOptionsConfiguration
|
Thanks for raising this! I'll take a look! |
To isolate the cause: Can you reproduce this with native support in |
Hey, could you provide us with additional logcat logs? I'm very keen on taking a look at this. |
i have same program in android 5.crash log is
|
This comment was marked as duplicate.
This comment was marked as duplicate.
set Android Native Support disabled is OK |
how disable sentry in android 5 at runtime |
You can disable Sentry at runtime with the |
@bitsandfoxes I have the same problem on an Android 6 device, how can I help you to debug this issue ?
I exported the project to android studio to catch the exception. in the native debugger here is the stacktrace: ![]() Disabling Sentry at runtime on Android device <= 6 seem to fix the issue, but i'd like to be able to to catch problems old devices too. |
Hey, thanks for the helping hand! Is this only happening on a physical device? Does this happen in the emulator too? |
Hi I have not tried on the emulator. if it'm important I can try it but I need to rebuilt everything to support X86 emulator |
That'd be hugely appreciated. |
Same problem using the x86 emulator ( Nexus 4 API 23 ) :
|
Thanks for confirming this. I'll see what I can find out. |
@bitsandfoxes any update on this issue ? |
Unfortunately, nothing definitive. What we do have now is more granular control over what gets initialized and you can selectively disable the NDK only while keeping the rest of the Android Native support. |
Thanks for all the input so far and apologies for the slow progress. We can finally reproduce this and have a lead as to how to resolve it. |
Environment
How do you use Sentry?
Sentry SaaS (sentry.io) or self-hosted/on-premise (which version?) sentry.io
Which version of the SDK?
0.28.1 and 1.0.0 both have same error both tested
How did you install the package? (Git-URL, Assetstore)
git url
Which version of Unity?
2020.3.44f1 LTS
Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
Confirmed Android 5.0 Devices and maybe Android 6.0 too
Steps to Reproduce
I have Google Admob + Firebase + Facebook + Photon + Sentry SDKs in the game. I removed all the SDKs one by one to find the buggy SDK, at last when I just turn off the sentry SDK app then started running smoothly. I have retested it twice with the clean build, there is some bug in Sentry SDK. It is 100% confirmed it crashes on an android 5.0 device.
Expected Result
should not crash
Actual Result
It shows in the Android Logcat:

The text was updated successfully, but these errors were encountered: