Skip to content

Commit 12115c9

Browse files
authored
Unreal Engine: Add notice about loading custom callback handler classes (#15004)
This PR adds a notice to the Unreal plugin configuration documentation highlighting the importance of plugin loading order when configuring custom callback handlers.
1 parent 3b45ccd commit 12115c9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/platforms/unreal/configuration/options.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ These options can be used to hook the SDK in various ways to customize the repor
159159

160160
The callbacks you set as hooks will be called on the thread where the event happened. If the event occurs on a non-game thread during garbage collection the callback will not be invoked.
161161

162+
<Alert>
163+
164+
If your callback handler class is part of another plugin, ensure that plugin is loaded before the Sentry SDK. Otherwise, the handler won't be found during Sentry settings deserialization at engine startup and won't be executed.
165+
166+
</Alert>
167+
162168
<ConfigKey name="before-send">
163169

164170
This function is called with an SDK-specific message or error event object, and can return a modified event object, or `null` to skip reporting the event. This can be used, for instance, for manual PII stripping before sending.

0 commit comments

Comments
 (0)