sentry-unreal
sentry-unreal copied to clipboard
Sessions not getting marked as crashed
Environment
How do you use Sentry? Sentry SaaS (sentry.io)
Which version of the SDK? 0.15.1
How did you install the package? AssetStore
Steps to Reproduce
- Record a Session
- Crash it
Expected Result
Session appears in Sentry as crashed
Actual Result
Session appears in Sentry, but not as crashed. Crash makes it into Sentry though .
So I've tried setting this value Settings->EnableAutoSessionTracking = true; in USentrySettings . That didnt seem to do anythihng And then I tried calling USentrySubsystem::StartSession();, which then does show up as a session in the dashboard. But then when I attempt to crash from that session, it still counts as successful. I made sure not to call USentrySubsystem::EndSession() And then I tried "hack" the Sentry library code in SentrySubsystemDesktop::HandleBeforeSend code to call sentry_end_session_with_status with a crash status defined in sentry.h. This didnt seem to work either because I think HandleBeforeSend doesnt seem to be called..