Skip to content

Commit 63aec4b

Browse files
bruno-garciaLms24
authored andcommitted
unreal: clarify environment defaults (#11991)
1 parent 8c7ed7f commit 63aec4b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/platforms/unreal/configuration/environments.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ sidebar_order: 30
55
---
66

77
Environments tell you where an error occurred, whether that's in your production system, your staging server, or elsewhere.
8+
It help you better filter issues, releases, and user feedback in the Issue Details page of sentry.io, which you learn more about in our [documentation that covers using environments](/product/sentry-basics/environments/).
89

910
Sentry automatically creates an environment when it receives an event with the `environment` parameter set.
1011

11-
Environments are case-sensitive. The environment name can't contain newlines, spaces or forward slashes, can't be the string "None", or exceed 64 characters. You can't delete environments, but you can [hide](/product/sentry-basics/environments/#hidden-environments) them.
12+
By default, the SDK reports `Editor` when running inside the Unreal Engine Editor.
13+
For shipping builds it'll use `Release` and in other configurations it'll use `FApp::GetBuildConfiguration()`
14+
You can also set the default environment to `Release`, `Development`, or `Debug` in your build configuration or override the environment value programatically.
1215

1316
```cpp
1417
FConfigureSettingsDelegate SettingsDelegate;
@@ -26,6 +29,4 @@ USentrySubsystem* SentrySubsystem = GEngine->GetEngineSubsystem<USentrySubsystem
2629
SentrySubsystem->InitializeWithSettings(SettingsDelegate);
2730
```
2831
29-
By default, the SDK reports `Editor` when running inside the Unreal Engine Editor. You can also set the default environment to `Release`, `Development`, or `Debug` in your build configuration or override the environment value manually.
30-
31-
Environments help you better filter issues, releases, and user feedback in the Issue Details page of sentry.io, which you learn more about in our [documentation that covers using environments](/product/sentry-basics/environments/).
32+
Environments are case-sensitive. The environment name can't contain newlines, spaces or forward slashes, can't be the string "None", or exceed 64 characters. You can't delete environments, but you can [hide](/product/sentry-basics/environments/#hidden-environments) them.

0 commit comments

Comments
 (0)