Skip to content

Conversation

redxdev
Copy link

@redxdev redxdev commented Aug 14, 2025

Requires Epic to accept https://github.com/EpicGames/UnrealEngine/pull/13686 first as one required method is not exported from Core.

Unreal has a little-known macro UE_ADD_CRASH_CONTEXT_SCOPE which allows running code to add additional information to a crash if the crash happens within the scope the macro is in. This adds support to sentry to retrieve this information and add it as an additional scope. Some other systems may also add data into this via OnAdditionalCrashContextDelegate().

@redxdev redxdev requested a review from tustanivsky as a code owner August 14, 2025 18:23
@tustanivsky
Copy link
Collaborator

Hey @redxdev, thank you for submitting this PR! We'll be looking forward to Epics accepting you're changes to the engine and also explore if there's more context data we can add like that.

@redxdev
Copy link
Author

redxdev commented Sep 26, 2025

Looks like epic grabbed the required commit on their side: https://github.com/EpicGames/UnrealEngine/commit/8d79c7e26943f5c3c3ad1291db25488215fa8b09

I've updated the review to check for a minimum version of 5.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants