---
title: "Migration Guide"
description: "Learn more about migrating to the current version."
url: https://docs.sentry.io/platforms/unreal/migration/
last_updated: 2026-12-06T16:33:58.000Z
---

# Migration Guide for Unreal Engine

We recommend using this guide starting from the version closes to your current version which might require scrolling further down before jumping to the latest guide.

## [Migrating to 2.0.0](https://docs.sentry.io/platforms/unreal/migration.md#migrating-to-200)

### [Breaking changes](https://docs.sentry.io/platforms/unreal/migration.md#breaking-changes)

#### [Before Log Handler Access](https://docs.sentry.io/platforms/unreal/migration.md#before-log-handler-access)

The `USentrySubsystem::GetBeforeLogHandler` function is removed. Other callback handlers aren't available from the subsystem, and the before log handler now follows the same rule.

If your code gets the handler instance from the subsystem, keep the state that you need in your own object instead. The SDK creates the handler from the `BeforeLogHandler` class in the plugin settings and calls it for each structured log, so you don't need the instance to filter or change logs.

#### [Scope Getters](https://docs.sentry.io/platforms/unreal/migration.md#scope-getters)

The getter functions of `USentryScope` are removed: `GetTag`, `TryGetTag`, `GetTags`, `GetFingerprint`, `GetLevel`, `GetContext`, `TryGetContext`, `GetExtra`, `TryGetExtra`, and `GetExtras`. You can still set, remove, and clear scope data.

The getters returned different data on different platforms. On Android and Apple, they included the data from the global scope. On other platforms, they returned only the data set on the scope itself. `GetLevel` also returned `Debug` when no level was set, and setting this value on the scope again changed the level of captured events.

If your code reads data from a scope in a `Capture*WithScope` callback, keep this data in your own variables instead.

If you use Blueprints, remove the getter nodes of `Sentry Scope` objects.

#### [Renamed Public Types](https://docs.sentry.io/platforms/unreal/migration.md#renamed-public-types)

* Renamed `ESentryAndroidCrashBackend` enum to `ESentryAndroidNativeCrashSource`
* Renamed `FStructuredLoggingLevels` struct to `FStructuredLogsLevels`

#### [Structured Logs Level](https://docs.sentry.io/platforms/unreal/migration.md#structured-logs-level)

Structured logs now use the new `ESentryLogLevel` enum instead of `ESentryLevel`. It adds the `Trace` level, which the logs protocol supports but events, breadcrumbs, and scopes don't. Events, breadcrumbs, and scopes still use `ESentryLevel`.

If you set or read the level of a `USentryLog` (for example, in a custom `USentryBeforeLogHandler`), update your code to use `ESentryLogLevel`:

```cpp
// Filtering logs by level before v2.0.0

if (LogData->GetLevel() == ESentryLevel::Debug)
{
    return nullptr;
}

// Filtering logs by level in v2.0.0

if (LogData->GetLevel() == ESentryLogLevel::Debug || LogData->GetLevel() == ESentryLogLevel::Trace)
{
    return nullptr;
}
```

If you use Blueprints, recreate the **Set Level** and **Get Level** nodes of `Sentry Log` objects and the nodes connected to them.

#### [Unreal Engine Log Forwarding](https://docs.sentry.io/platforms/unreal/migration.md#unreal-engine-log-forwarding)

`UE_LOG` messages with `VeryVerbose` verbosity are now sent as `trace` structured logs instead of `debug` ones. The `Verbose/VeryVerbose` option in the plugin settings (`StructuredLogsLevels.bOnDebugLog`) is split into the `Verbose` (`bOnDebugLog`) and `VeryVerbose` (`bOnTraceLog`) options.

The `VeryVerbose` option is disabled by default. If your project forwards `Verbose` messages and you also want to forward `VeryVerbose` messages, enable `bOnTraceLog`.

Breadcrumbs for `VeryVerbose` messages still use the `Debug` level.

#### [Breadcrumbs for Forwarded Logs](https://docs.sentry.io/platforms/unreal/migration.md#breadcrumbs-for-forwarded-logs)

The `AddBreadcrumbsWithStructuredLogs` setting (`bSendBreadcrumbsWithStructuredLogging` before v2.0.0) and the **Also send breadcrumbs** option in the plugin settings are removed. The SDK no longer reads the setting, so you can remove it from your configuration file.

The `AutomaticBreadcrumbsForLogs` setting alone now decides which `UE_LOG` messages add breadcrumbs, whether or not they are sent as structured logs. Before v2.0.0, a message that was sent as a structured log didn't add a breadcrumb unless this setting was enabled.

If your project had the setting disabled (the default) and you don't want breadcrumbs for the messages that you send as structured logs, disable the same verbosity levels in `AutomaticBreadcrumbsForLogs` (**Project Settings > Plugins > Sentry > Enriching Events > Breadcrumbs**):

```ini
[/Script/Sentry.SentrySettings]
StructuredLogsLevels=(bOnFatalLog=True,bOnErrorLog=True,bOnWarningLog=True,bOnInfoLog=False,bOnDebugLog=False,bOnTraceLog=False)
AutomaticBreadcrumbsForLogs=(bOnFatalLog=False,bOnErrorLog=False,bOnWarningLog=False,bOnInfoLog=False,bOnDebugLog=False)
```

Breadcrumb settings apply to a verbosity level in all log categories. If you use `StructuredLogsCategories` to send only some categories as structured logs, you can no longer turn off breadcrumbs for only these categories in the plugin settings. To do this, use a custom `BeforeBreadcrumbHandler` that discards breadcrumbs by category.

#### [Assert Handling](https://docs.sentry.io/platforms/unreal/migration.md#assert-handling)

`FSentryOutputDevice` and `FSentryErrorOutputDevice` are no longer part of the public API. If you subscribed to the `OnAssert` delegate of `FSentryErrorOutputDevice`, use the static `FSentryDelegates::OnAssert` delegate instead:

```cpp
// Handling failed assertions before v2.0.0

#include "SentryErrorOutputDevice.h"

FSentryErrorOutputDevice* SentryErrorDevice = static_cast<FSentryErrorOutputDevice*>(GError);
SentryErrorDevice->OnAssert.AddLambda([](const FString& Message)
{
    // Handle the assertion
});

// Handling failed assertions in v2.0.0

#include "SentryDelegates.h"

FSentryDelegates::OnAssert.AddLambda([](const FString& Message)
{
    // Handle the assertion
});
```

The delegate is called on the thread that hit the assertion, before the crash is reported. Your handler must be thread-safe and must not access UObjects.

### [Crash Backend](https://docs.sentry.io/platforms/unreal/migration.md#crash-backend)

The native backend is now the default on Windows, Linux, and Xbox. The `CrashBackend` option (**Project Settings > Plugins > Sentry > Crash Handling > Crash backend**) accepts the following values:

| Platform       | `Auto` (default) | `Native` | `Legacy`                      |
| -------------- | ---------------- | -------- | ----------------------------- |
| Windows, Linux | Native           | Native   | Crashpad                      |
| Xbox           | Native           | Native   | Breakpad                      |
| macOS          | sentry-cocoa     | Native   | sentry-cocoa (same as `Auto`) |

If you want to keep using Crashpad on Windows and Linux or Breakpad on Xbox, set `CrashBackend=Legacy`. To keep using the native backend on macOS, set `CrashBackend=Native`.

The backend is selected at build time, so rebuild your project after changing this option.

### [SDK Configuration Changes](https://docs.sentry.io/platforms/unreal/migration.md#sdk-configuration-changes)

* Several plugin settings are renamed. The SDK no longer reads the old names, so update them in your project configuration file. The values of the renamed settings don't change:

  | Before v2.0.0                 | In v2.0.0                     |
  | ----------------------------- | ----------------------------- |
  | `EnableAutoLogAttachment`     | `AttachGameLog`               |
  | `AttachSessionReplay`         | `EnableSessionReplay`         |
  | `EnableAutoCrashCapturing`    | `OverrideEngineCrashHandling` |
  | `AndroidCrashBackend`         | `AndroidNativeCrashSource`    |
  | `StructuredLoggingCategories` | `StructuredLogsCategories`    |
  | `StructuredLoggingLevels`     | `StructuredLogsLevels`        |
  | `bRequireUserConsent`         | `RequireUserConsent`          |
  | `bDefaultUserConsentGiven`    | `DefaultUserConsentGiven`     |

* The deprecated `EnableStructuredLogging` and `EnableMetrics` settings are removed. Structured logs and metrics are always enabled, so you can remove these settings from your configuration file.

* The `bSendBreadcrumbsWithStructuredLogging` setting is removed. See [Breadcrumbs for Forwarded Logs](https://docs.sentry.io/platforms/unreal/migration.md#breadcrumbs-for-forwarded-logs).

* The `UseNativeBackend` option is replaced by the `CrashBackend` option, and the SDK no longer reads it.

* Session replay is enabled at build time, so rebuild your project after renaming `AttachSessionReplay`.

## [Migrating to 1.0.0](https://docs.sentry.io/platforms/unreal/migration.md#migrating-to-100)

### [Breaking changes](https://docs.sentry.io/platforms/unreal/migration.md#breaking-changes-1)

#### [Sentry Classes Instantiation](https://docs.sentry.io/platforms/unreal/migration.md#sentry-classes-instantiation)

Sentry class objects created via `NewObject<T>` in C++ or `ConstructObjectFromClass` in Blueprints now require an explicit call to their `Initialize` method (if available) before use. In Blueprints, it's recommended to use the provided Sentry library functions to create these entities as they automatically call `Initialize` and return a fully initialized, ready-to-use object.

#### [Cleanup Public Classes](https://docs.sentry.io/platforms/unreal/migration.md#cleanup-public-classes)

We cleaned up our public API by removing a few functions and classes to streamline the SDK and remove ambiguities. The following changes were made:

* Removed `USentryId` class and replaced its usages with `FString`
* Removed `USentrySubsystem::ConfigureScope` function
* Removed `USentryLibrary::StringToBytesArray` function
* Removed `USentryLibrary::ByteArrayToString` function
* Removed `USentryLibrary::SaveStringToFile` function
* Removed `USentryScope::SetEnvironment` function
* Removed `USentryScope::GetEnvironment` function
* Removed `USentryScope::SetDist` function
* Removed `USentryScope::GetDist` function

#### [User feedback](https://docs.sentry.io/platforms/unreal/migration.md#user-feedback)

We have reworked the user feedback feature so now it no longer needs to be associated with a specific event and the only required input is the text message. If you were using this functionality in your project consider updating it accordingly:

* Replace `USentryUserFeedback` class references with `USentryFeedback`
* Replace `USentrySubsystem::CaptureUserFeedback` function usages with `USentrySubsystem::CaptureFeedback`
* Replace `USentryLibrary::CreateSentryUserFeedback` function usages with `USentryLibrary::CreateSentryFeedback`

```cpp
USentrySubsystem* SentrySubsystem = GEngine->GetEngineSubsystem<USentrySubsystem>();

FString Message = TEXT("Feedback message");
FString Name = TEXT("John Doe");
FString Email = TEXT("test@email.com");
FString EventId = TEXT("c3829f10764848442d813c4124cf44a0");

// Submitting user feedback before v1.0.0

USentryUserFeedback* Feedback = NewObject<USentryUserFeedback>();

Feedback->Initialize(EventId);

Feedback->SetName(Name);        // optional
Feedback->SetEmail(Email);      // optional
Feedback->SetComment(Message);  // optional

SentrySubsystem->CaptureUserFeedback(Feedback);

// Submitting user feedback in v1.0.0

USentryFeedback* Feedback = NewObject<USentryFeedback>();

Feedback->Initialize(Message);

Feedback->SetName(Name);                // optional
Feedback->SetContactEmail(Email);       // optional
Feedback->SetAssociatedEvent(EventId);  // optional

SentrySubsystem->CaptureFeedback(Feedback);
```

#### [Tracing](https://docs.sentry.io/platforms/unreal/migration.md#tracing)

The `USentrySubsystem::StartTransactionWithContextAndOptions` function now takes an `FSentryTransactionOptions` struct instead of a `TMap<FString, FString>`, improving clarity and allowing better extensibility in the future.

Also, the `USentrySamplingContext` class now utilizes `FSentryVariant` instead of strings for custom sampling context values.

```cpp
USentrySubsystem* SentrySubsystem = GEngine->GetEngineSubsystem<USentrySubsystem>();

// Starting transaction with context and options before v1.0.0

USentryTransactionContext* TransactionContext = ...

TMap<FString, FString> Options;
Options.Add("key1", "value1");
Options.Add("key2", "value2");

SentrySubsystem->StartTransactionWithContextAndOptions(TransactionContext, Options);

// Starting transaction with context and options in v1.0.0

USentryTransactionContext* TransactionContext = ...

FSentryTransactionOptions Options;
Options.CustomSamplingContext.Add("key1", FSentryVariant("value1"));
Options.CustomSamplingContext.Add("key2", FSentryVariant("value2"));

SentrySubsystem->StartTransactionWithContextAndOptions(TransactionContext, Options);
```

#### [Event ID format (Windows/Linux)](https://docs.sentry.io/platforms/unreal/migration.md#event-id-format-windowslinux)

On Windows and Linux, `ToString` function of `SentryId` class now returns the sanitized string that doesn't contain dashes.

#### [Global scope configuration](https://docs.sentry.io/platforms/unreal/migration.md#global-scope-configuration)

With the removal of `USentrySubsystem::ConfigureScope` global scope values (tags, context, attachments, etc.) should now be configured directly via the subsystem interface.

```cpp
USentrySubsystem* SentrySubsystem = GEngine->GetEngineSubsystem<USentrySubsystem>();

// Configuring global scope before v1.0.0

SentrySubsystem->ConfigureScope(FConfigureScopeNativeDelegate::CreateLambda([](USentryScope* Scope)
{
    Scope->SetTag(...);
    Scope->SetContext(...);
    Scope->AddAttachment(...);
}));

// Configuring global scope in v1.0.0

SentrySubsystem->SetTag(...);
SentrySubsystem->SetContext(...);
SentrySubsystem->AddAttachment(...);
```

### [Issue Grouping](https://docs.sentry.io/platforms/unreal/migration.md#issue-grouping)

The Unreal SDK no longer modifies call stacks for assertion events by trimming the topmost frames related to the engine's internal assertion handling logic. This was previously done to work around the case where all assertions were grouped into a single Sentry issue. With this change, issue grouping is now fully handled by the Sentry server.

### [SDK Configuration Changes](https://docs.sentry.io/platforms/unreal/migration.md#sdk-configuration-changes-1)

* The `Environment` and `Dist` properties must now be set in the plugin settings and can no longer be modified programmatically via scope configuration.

* Sentry can no longer be disabled for specific platforms using the `Enable for Build Platform Types` option in the plugin settings (`General -> Misc`) or the EnableTargetPlatforms property in the project configuration file.

* If upgrading from a version prior to 0.9.0 legacy settings `DsnUrl`, `EnableVerboseLogging` and `EnableStackTrace` will no longer be read from the project configuration file automatically. Instead, you must re-set them in plugin settings to adopt the new format.

* On mobile platforms, the default traces sampler will no longer be created automatically. You must now explicitly set the `Traces Sampler` property in the plugin settings to enable performance monitoring (`General -> Performance Monitoring`).

### [Crash Reporter Changes](https://docs.sentry.io/platforms/unreal/migration.md#crash-reporter-changes)

The `Epic Account Id` and `Login Id` are no longer included in the `Crash Info` context for crashes captured on Windows and Linux using the default Crash Reporter. These fields are intended for internal use by Epic Games and provide no meaningful value externally.

## [Migrating to 0.19.0](https://docs.sentry.io/platforms/unreal/migration.md#migrating-to-0190)

### [Breaking changes](https://docs.sentry.io/platforms/unreal/migration.md#breaking-changes-2)

* Renamed `OnError` delegate property of `FSentryOutputDeviceError` class to `OnAssert`

## [Migrating to 0.15.0](https://docs.sentry.io/platforms/unreal/migration.md#migrating-to-0150)

### [Breaking changes](https://docs.sentry.io/platforms/unreal/migration.md#breaking-changes-3)

To enable capturing editor crashes `USentrySubsystem` base class has been changed to `UEngineSubsystem`.

* If you're using the plugin's Blueprint API, you will need to recreate all `Get Sentry Subsystem` nodes.
* If you're using the plugin's C++ API, update your implementation to access `USentrySubsystem` via the `GEngine` pointer.

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
