From 1ccbe7a6a9eb6cdd5b8a87cecdb940427d7e4c66 Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Wed, 13 Aug 2025 14:13:03 +0200 Subject: [PATCH 1/3] Added 'cysharp' to in-app-exclude --- src/Sentry.Unity/SentryUnityOptions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Sentry.Unity/SentryUnityOptions.cs b/src/Sentry.Unity/SentryUnityOptions.cs index 34144e7cc..cf45e0b59 100644 --- a/src/Sentry.Unity/SentryUnityOptions.cs +++ b/src/Sentry.Unity/SentryUnityOptions.cs @@ -321,6 +321,8 @@ internal SentryUnityOptions( AddInAppExclude("UnityEngine"); AddInAppExclude("UnityEditor"); + AddInAppExclude("Cysharp"); + var processor = new UnityEventProcessor(this); AddEventProcessor(processor); AddTransactionProcessor(processor); From 199d6f7361a95e328f386661d75bc0d85634248c Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Wed, 13 Aug 2025 14:57:25 +0200 Subject: [PATCH 2/3] Added DG.Tweening --- src/Sentry.Unity/SentryUnityOptions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Sentry.Unity/SentryUnityOptions.cs b/src/Sentry.Unity/SentryUnityOptions.cs index cf45e0b59..2197403fd 100644 --- a/src/Sentry.Unity/SentryUnityOptions.cs +++ b/src/Sentry.Unity/SentryUnityOptions.cs @@ -322,6 +322,7 @@ internal SentryUnityOptions( AddInAppExclude("UnityEngine"); AddInAppExclude("UnityEditor"); AddInAppExclude("Cysharp"); + AddInAppExclude("DG.Tweening"); var processor = new UnityEventProcessor(this); AddEventProcessor(processor); From 348ebfb4606dbe7945a2b5651a50918a1d49c609 Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Thu, 14 Aug 2025 17:51:00 +0200 Subject: [PATCH 3/3] Updated CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cf326c4e..ac5837907 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased +### Features + +- The SDK now automatically marks stack frames from `Cysharp` and `DG.Tweening` as non in-app. + This highly improves the resulting stack trace quality in the issues details. ([#2285](https://github.com/getsentry/sentry-unity/pull/2285)) + ### Fixes - For targeting iOS, the Unity SDK now brings an iOS-only `.xcframework`, reducing package size. ([#2264](https://github.com/getsentry/sentry-unity/pull/2264))