From 29483c90b4ec9f23c1ae901da306a16f5d34d51a Mon Sep 17 00:00:00 2001 From: Ivan Tustanivskyi Date: Mon, 22 Sep 2025 09:34:03 +0300 Subject: [PATCH] Add notice about loading custom callback handler classes --- docs/platforms/unreal/configuration/options.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/platforms/unreal/configuration/options.mdx b/docs/platforms/unreal/configuration/options.mdx index ba7c782f103e27..5a63021c3a2f54 100644 --- a/docs/platforms/unreal/configuration/options.mdx +++ b/docs/platforms/unreal/configuration/options.mdx @@ -159,6 +159,12 @@ These options can be used to hook the SDK in various ways to customize the repor 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. + + +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. + + + 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.