Hey there,
unsure what I'm doing wrong, but I added custom code to create an event for Hangs, so they don't run through the CrashReporter anymore.
It seemed to work fine in a local build (not packaged, but Zen Streamed), with the hang being put into an Issue called "Hang detected on GameThread", which is also the message of the event.
Now, when packaging the same CL and performing the same debug stall 11 to fake a 10 second hang, I get the event logged, but now it ends up in an Issue called sentry_unwind_stack.
Comparing the two events, it seems like the non-packaged one didn't have a proper stack trace assigned (just a list of "<unknown>"), while the packaged one does have a stack trace that ends like this:
Thread 40428 Crashed:
0 Client-Win64-Test.exe 0x7ff7998ad8d9 sentry_unwind_stack
1 Client-Win64-Test.exe 0x7ff7998a4e77 sentry_value_new_stacktrace
2 Client-Win64-Test.exe 0x7ff7998a53d6 sentry_value_set_stacktrace
3 Client-Win64-Test.exe 0x7ff7958d3a48 FGenericPlatformSentrySubsystem::CaptureHang (GenericPlatformSentrySubsystem.cpp:756)
Will post the code loacted in the CaptureHang function in an answer to the thread. Could someone let me know what I'm doing "wrong", because I can't imagine that the 3 sentry functions are usually part of this, cause then almost everything would land in here.