You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/unreal/configuration/options.mdx
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,35 @@ Learn more about enriching events with screenshots in our <PlatformLink to="/enr
99
99
100
100
<Alert>
101
101
102
-
The support for screenshot attachment on crash events is limited to Windows and Linux.
102
+
Attaching screenshots to crash events is currently not supported on Android.
103
+
104
+
</Alert>
105
+
106
+
</ConfigKey>
107
+
108
+
<ConfigKeyname="attach-game-log">
109
+
110
+
When enabled, game log file is automatically attached to all events captured if the current build configuration allows logging.
111
+
112
+
This option is turned off by default.
113
+
114
+
</ConfigKey>
115
+
116
+
<ConfigKeyname="attach-gpu-dump">
117
+
118
+
When enabled, [Nsight Aftermath](https://developer.nvidia.com/nsight-aftermath) mini-dump file is automatically attached to GPU crash events captured.
119
+
120
+
This option is turned on by default.
121
+
122
+
<Alert>
123
+
124
+
This feature is currently supported only for Nvidia GPUs.
125
+
126
+
</Alert>
127
+
128
+
<Alert>
129
+
130
+
On Windows, capturing GPU crashes requires [modifying the Unreal Engine source code](https://github.com/getsentry/sentry-unreal/issues/673).
103
131
104
132
</Alert>
105
133
@@ -109,6 +137,8 @@ The support for screenshot attachment on crash events is limited to Windows and
109
137
110
138
These options can be used to hook the SDK in various ways to customize the reporting of events.
111
139
140
+
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.
141
+
112
142
<ConfigKeyname="before-send">
113
143
114
144
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.
@@ -117,6 +147,19 @@ By the time <PlatformIdentifier name="before-send" /> is executed, all scope dat
117
147
118
148
</ConfigKey>
119
149
150
+
<ConfigKeyname="before-breadcrumb">
151
+
152
+
This function is called with an SDK-specific breadcrumb object before the breadcrumb is added to the scope. When nothing is returned from the function, the breadcrumb is dropped. To pass the breadcrumb through, return the first argument, which contains the breadcrumb object.
153
+
The callback typically gets a second argument (called a "hint") which contains the original object from which the breadcrumb was created to further customize what the breadcrumb should look like.
Copy file name to clipboardExpand all lines: docs/platforms/unreal/enriching-events/breadcrumbs/index.mdx
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,3 +37,29 @@ The same result can be achieved by calling corresponding function in blueprint:
37
37
The Unreal Engine SDK can capture certain types of breadcrumbs automatically. Those can be enabled using the Sentry configuration window at **Project Settings > Plugins > Sentry**.
SDKs allow you to customize breadcrumbs through the <PlatformIdentifier name="before-breadcrumb" /> hook (the corresponding handler class can be set in the plugin settings).
44
+
45
+
This hook is passed an already assembled breadcrumb and, in some SDKs, an optional hint. The function can modify the breadcrumb or decide to discard it entirely by returning `nullptr`:
46
+
47
+
```cpp
48
+
UCLASS()
49
+
class UCustomBeforeBreadcrumbHandler : public USentryBeforeBreadcrumbHandler
@@ -75,6 +76,12 @@ Currently, this method is available only for C++ UE projects. Blueprint projects
75
76
76
77
</Alert>
77
78
79
+
<Alert>
80
+
81
+
To avoid warnings during the build for licensee versions of Unreal Engine, the `EngineVersion` key is not set in the `Sentry.uplugin` for the `github` package.
82
+
83
+
</Alert>
84
+
78
85
### Installing from Fab
79
86
80
87
Sentry SDK can be downloaded via the [standard installation process](https://dev.epicgames.com/documentation/en-us/unreal-engine/working-with-plugins-in-unreal-engine#installingpluginsfromtheunrealenginemarketplace) from its [Epic Games Fab page](https://www.fab.com/listings/eaa89d9d-8d39-450c-b75f-acee010890a2).
0 commit comments