From 68e10e232d613b1c0cea5bfab9fd04e36adaf17a Mon Sep 17 00:00:00 2001 From: armadavalor Date: Tue, 3 Nov 2026 16:20:37 +0300 Subject: [PATCH 1/2] chore: remove release and environment override fields from the editor window --- CHANGELOG.md | 6 ++++++ .../ConfigurationWindow/EnrichmentTab.cs | 18 ------------------ 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 252fc315b..4fab041dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +### Behavioral Changes + +- The `Override Release` and `Override Environment` fields have been removed from the Sentry editor window. Release and environment now come from the application's Player Settings by default and can be set in code through an options configuration. Values already saved in the options asset are still applied. ([#NNNN](https://github.com/getsentry/sentry-unity/pull/NNNN)) + ## 4.12.0 ### Behavioral Changes diff --git a/src/Sentry.Unity.Editor/ConfigurationWindow/EnrichmentTab.cs b/src/Sentry.Unity.Editor/ConfigurationWindow/EnrichmentTab.cs index 0d5a29783..4872cfb8c 100644 --- a/src/Sentry.Unity.Editor/ConfigurationWindow/EnrichmentTab.cs +++ b/src/Sentry.Unity.Editor/ConfigurationWindow/EnrichmentTab.cs @@ -103,24 +103,6 @@ internal static void Display(ScriptableSentryUnityOptions options) EditorGUI.DrawRect(EditorGUILayout.GetControlRect(false, 1), Color.gray); EditorGUILayout.Space(); - { - options.ReleaseOverride = EditorGUILayout.TextField( - new GUIContent("Override Release", "By default release is built from the Application info as: " + - "\"{productName}@{version}+{buildGUID}\". " + - "\nThis option is an override."), - options.ReleaseOverride); - - options.EnvironmentOverride = EditorGUILayout.TextField( - new GUIContent("Override Environment", "Auto detects 'production' or 'editor' by " + - "default based on 'Application.isEditor'." + - "\nThis option is an override."), - options.EnvironmentOverride); - } - - EditorGUILayout.Space(); - EditorGUI.DrawRect(EditorGUILayout.GetControlRect(false, 1), Color.gray); - EditorGUILayout.Space(); - { options.ReportAssembliesMode = (ReportAssembliesMode)EditorGUILayout.EnumPopup( new GUIContent("Report Assemblies Mode", "Whether or not to include referenced assemblies " + From 1af4c402ac378b282a00380accded248819a6a62 Mon Sep 17 00:00:00 2001 From: armadavalor Date: Tue, 3 Nov 2026 16:20:54 +0300 Subject: [PATCH 2/2] docs: add PR number to changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fab041dc..9348e7a87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Behavioral Changes -- The `Override Release` and `Override Environment` fields have been removed from the Sentry editor window. Release and environment now come from the application's Player Settings by default and can be set in code through an options configuration. Values already saved in the options asset are still applied. ([#NNNN](https://github.com/getsentry/sentry-unity/pull/NNNN)) +- The `Override Release` and `Override Environment` fields have been removed from the Sentry editor window. Release and environment now come from the application's Player Settings by default and can be set in code through an options configuration. Values already saved in the options asset are still applied. ([#2922](https://github.com/getsentry/sentry-unity/pull/2922)) ## 4.12.0