sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

SentryUnity.GetLastRunState() not working (at all)

Open Daztrax opened this issue 7 months ago • 1 comments
trafficstars

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&

Daztrax avatar Apr 01 '25 01:04 Daztrax