Skip to content

Sentry Unity SDK (3.2.4) Random SIGILL on Android + Wrong Environment Name (“production”) #2442

@altkey-KevinLachance

Description

@altkey-KevinLachance

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

We receiving random SIGILL (Illegal Instruction) events on Android devices during Sentry initialization.

The crash does not originate from our code, and it happens before our SetBeforeSend filter runs.
Additionally, the event is tagged with environment = "production" even though our project never assigns "production" anywhere, indicating that Sentry is applying its own environment before our configuration executes.

This suggests a crash occurring inside the native layer during SDK initialization, before our BeforeSend callback is allowed to cancel events.

I can send you more info via e-mail (bug link and dsn)

Unity | 6000.2.13
Sentry Unity SDK | 3.2.4 (io.sentry.unity from GitHub)
Android | 11
Devices Affected | OnePlus 8 Pro (and others)
Architecture | ARM64
IL2CPP | Yes
Install Mode | Google Play Store

Image Image Image

Expected Result

no fatal crash

Actual Result

fatal crash

Product Area

Unknown

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions