Unreal Engine Crash Reporter - Can't get it to work

Hey there,

I’m trying to set up sentry with the UE4 (4.22) crash reporter. The problem is, I cannot even get a single event to reach sentry.

I created a brand new first person example project; followed the instructions to set the required section in the DefaultEngine.ini file and set include crash reporter and debug files.

In in c++ I added the line throw("crash on purpose"); whenever a projectile hits a target to make it crash.
If packaged or not, the ue4 crash handler appears -> I click send and close but I don’t get an event in sentry.

Am I doing something stupid? Please let me know!

Took me a while to get it to work the first time. Epic Games provides no docs and if you look up online you see questions like this raised 2 years ago still without an answer on their forum.

We’ve documented the process on Sentry docs and it seems you’ve done the two key settings already. Now if the crash is not being uploaded to Sentry perhaps the crash reporter didn’t pick up on the DataRouterUrl. Can you confirm the correct DefaultEngine.ini was changed?
Also check the Sentry URL has unreal in it. It’s an endpoint in Sentry build specially for Unreal Engine crashes and is down on the Client Keys (DSN) page in Sentry’s project settings.

Besides that, you could use ngrok (replace sentry.io with you ngrok url) to see if the crash reporter is trying to send the event or not.
image

I used requestcatcher.com and webhook.site to check, but I got nothing. Which means UE-crash reporter isn’t sending anything.

Maybe editing Epic Epic Games\UE_4.22\Engine\Config\BaseEngine.ini would work?

Is this feature limited to certain UE versions?
Or did I miss a necessary step?