#Unreal Engine rare crash

10 messages · Page 1 of 1 (latest)

muted bobcat
#

Hello, there's a group of players that's getting consistent crashes due to some Sentry-related logging. That's the first time that this is happening among hundreds of people, and it has never happened to me personally. Does anyone know what I could do to narrow down the problem?

marble gale
#

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/

muted bobcat
#

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

muted bobcat
#

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

scenic flume
#

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

muted bobcat
muted bobcat
#

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

scenic flume
#

Just to clarify - did you install the plugin via UE Marketplace (FAB)? Or did you download the package from GitHub relases page (if yes, which package version - github or markletplace)?