Skip to content

Commit 1eaea65

Browse files
authored
Add notice about screenshot capturing to Unreal SDK configuration sample (#13814)
Related to getsentry/sentry-unreal#871
1 parent 7bfc603 commit 1eaea65

File tree

1 file changed

+3
-0
lines changed
  • platform-includes/getting-started-config

1 file changed

+3
-0
lines changed

platform-includes/getting-started-config/unreal.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ void UMyGameInstance::ConfigureSentrySettings(USentrySettings* Settings)
3232

3333
// Add data like request headers, user ip address, device name, etc.
3434
Settings->SendDefaultPii = true;
35+
36+
// If your game/app doesn't have sensitive data, you can get screenshots on error events automatically
37+
Settings->AttachScreenshot = true;
3538
}
3639

3740
...

0 commit comments

Comments
 (0)