From 4313526472bae2178f324f62daf9aad6342a4e38 Mon Sep 17 00:00:00 2001 From: Ivan Tustanivskyi Date: Wed, 18 Sep 2024 10:45:34 +0300 Subject: [PATCH 1/2] change access modifier for stack trace mode option --- src/Sentry.Unity/SentryUnityOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sentry.Unity/SentryUnityOptions.cs b/src/Sentry.Unity/SentryUnityOptions.cs index cbe3e64ab..a0b7220de 100644 --- a/src/Sentry.Unity/SentryUnityOptions.cs +++ b/src/Sentry.Unity/SentryUnityOptions.cs @@ -195,7 +195,7 @@ public sealed class SentryUnityOptions : SentryOptions public bool PerformanceAutoInstrumentationEnabled { get; set; } = false; // This option is hidden due to incompatibility between IL2CPP and Enhanced mode. - private new StackTraceMode StackTraceMode { get; set; } + public new StackTraceMode StackTraceMode { get; private set; } // Initialized by native SDK binding code to set the User.ID in .NET (UnityEventProcessor). internal string? _defaultUserId; From 32311a9234f9adc91c2c251b967c75c7196e45a4 Mon Sep 17 00:00:00 2001 From: Ivan Tustanivskyi Date: Wed, 18 Sep 2024 11:15:18 +0300 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75d0330e8..724d9da8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ - Contexts, such as `device` and `gpu` that the SDK retrieves during the game's startup is now available even earlier and irrespective whether an error was captured on the main or on a background thread ([#1802](https://github.com/getsentry/sentry-unity/pull/1802)) - Added an `ApplicationNotRespondingException` type that allows filtering of ANR events ([#1800](https://github.com/getsentry/sentry-unity/pull/1800)) +### Fixes + +- Change access modifier to `private` for stack trace mode option setter ([#1806](https://github.com/getsentry/sentry-unity/pull/1806)) + ### Dependencies - Bump CLI from v2.34.1 to v2.36.1 ([#1788](https://github.com/getsentry/sentry-unity/pull/1788), [#1792](https://github.com/getsentry/sentry-unity/pull/1792), [#1796](https://github.com/getsentry/sentry-unity/pull/1796))