Debug Symbols Uploading

Learn how the Unreal Engine SDK handles debug symbols upload.

Sentry requires debug information files to symbolicate crashes. The Unreal Engine SDK provides an automated upload functionality for those symbol files that rely on the sentry-cli. This is done automatically, so running the sentry-cli manually isn't required. The symbol upload happens during the execution of PostBuildSteps, as specified in the Sentry.uplugin file. The sentry-cli executables for Windows, macOS, and Linux are included as part of the Unreal Engine SDK package. They can also be downloaded manually via the settings menu if the plugin was installed from the UE Marketplace.

For Android, debug symbols upload is handled by Sentry Android Gradle Plugin.

The automated debug symbols upload is disabled by default and requires configuration. To configure it, navigate to Project Settings > Plugins > Sentry, then enter the Auth Token, Organization Slug, and Project Name. Note, that the Unreal Engine SDK automatically creates a sentry.properties file at the root of your project directory to store the configuration. This configuration file should never be made publicly available.

You must configure which build configurations, target types, and platforms Sentry will upload debug symbols for in the "Misc" section of the plugin settings.

The Unreal Engine debug symbols upload configuration

To upload debug symbols to Sentry manually, run sentry-cli through the command line. You can either use the provided executables from within the package, or follow the sentry-cli documentation to make it available globally. To upload debug symbols run the following command:

Copied
sentry-cli --auth-token sntrys_YOUR_TOKEN_HERE debug-files upload --org example-org --project example-project PATH_TO_SYMBOLS
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").