#Unreal Engine rare crash
10 messages · Page 1 of 1 (latest)
i see the logs from sentry showing the error and an assertion error and an EXCEPTION_ILLEGAL_INSTRUCTION (which might be the actual cause of the crash)
some frames point to the SDK trying to get an screenshot, which it does when the an error is captured: https://docs.sentry.io/platforms/unreal/enriching-events/screenshots/
Learn more about how to set up Sentry to take screenshots when an error occurs. The screenshot will be paired with the original event, giving you additional insight into issues.
Yes, it was enabled. I tried to disable it, and a user experiencing this problem tried to play the game again, they're still crashing. He tried it 3 times, and he got the exact same error. I didn't cut the final log part, it's like this
That's weird that it's crashing on this line specifically
SentrySubsystemDesktop* SentrySubsystem = static_cast<SentrySubsystemDesktop*>(closure);
unless the debug symbols shift the line a little bit due to some macro directives
I ended up disabling Sentry to see what fatal error it's trying to dump, and it turned out another third party plugin that was crashing internally (in their dlls we don't have debug symbols for). I don't get why it was failing on its own way completely saturating the actual problem
Hey @muted bobcat , the secondary error is caused by screenshot capturing during on_crash hook processing which I believe was fixed in Sentry SDK version 1.0.0-alpha.1 (https://github.com/getsentry/sentry-unreal/pull/756):
Error: Assertion failed: IsInGameThread() || IsInSlateThread() || IsInAsyncLoadingThread() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h] [Line: 257]
Applying this patch may help you to track what's causing the original crash
Yes, that's what Rodolfo has mentioned, so I tried disabling screenshot capturing, but the crash persistent
^
But I'll give it a shot regardless, as I haven't updated Sentry since setting it up the first time at the end of last year