Skip to content

SentryUnity.GetLastRunState() not working (at all) #2090

Open
@Daztrax

Description

@Daztrax

Hi there, Hi, I would like to report a bug about the crashpad_handler that doesn't detect the crash when checking SentryUnity.GetLastRunState(), it runs as a background task, but it doesn't detect the crash, There are some crash types that it actually detects, such as this type of crash by using this line UnityEngine.Diagnostics.Utils.ForceCrash(UnityEngine.Diagnostics.ForcedCrashCategory.FatalError);, however, for other crash types, it doesn't work (such as UnityEngine.Diagnostics.Utils.ForceCrash(UnityEngine.Diagnostics.ForcedCrashCategory.PureVirtualFunction);), I'll attach a videoclip of me testing the feature.

This is already reported by me in the official discord: https://discord.com/channels/621778831602221064/1354572101197103264

Videoclip about the bug: https://cdn.discordapp.com/attachments/1354572101197103264/1354572106695708752/Desktop_2025.03.26_-_15.35.25.05.mp4?ex=67ec5e94&is=67eb0d14&hm=7b033e5a4af7cb065d171ce00d4c03a36adef4aac08cd88f7ade5c1ecb81090c&

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions