From d4a229f824b2a87afed4282472cf73fbe949cd38 Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Tue, 10 Mar 2026 13:34:59 -0700 Subject: [PATCH 1/2] added build cache path for symbol upload --- src/Sentry.Unity.Editor/Native/BuildPostProcess.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Sentry.Unity.Editor/Native/BuildPostProcess.cs b/src/Sentry.Unity.Editor/Native/BuildPostProcess.cs index 1f9fde3be..6cc68e12e 100644 --- a/src/Sentry.Unity.Editor/Native/BuildPostProcess.cs +++ b/src/Sentry.Unity.Editor/Native/BuildPostProcess.cs @@ -321,6 +321,10 @@ private static void UploadDebugSymbols(IDiagnosticLogger logger, BuildTarget tar AddPath(paths, dir, logger); } + // When exporting as an NSP the assemblies are bundled inside the package. So we're also checking the build cache. + var beePath = Path.Combine(buildOutputDir, "Library", "Bee", "artifacts", "SwitchPlayerBuildProgram"); + AddPath(beePath); + // User-provided Sentry plugin AddPath(paths, Path.GetFullPath("Assets/Plugins/Sentry/"), logger); break; From 5bfc1a4dbd878c564776514d4c3684fc953534be Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Tue, 10 Mar 2026 13:37:32 -0700 Subject: [PATCH 2/2] Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe74644b2..38773766b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Fixes +- When exporting a NSP ROM File for Switch the SKD now correctly uploads the debug symbols ([#2580](https://github.com/getsentry/sentry-unity/pull/2580)) - The SDK now also uses `.sentry-native` as a subdirectory for native support on desktop platforms. It now also falls back to `Application.persistentDataPath` instead of the current working directory. Note: `crashedLastRun` may report `false` for the first time after upgrading. ([#2547](https://github.com/getsentry/sentry-unity/pull/2547)) - The currently experimental Metrics are now opt-in by default ([#2546](https://github.com/getsentry/sentry-unity/pull/2546)) - When targeting Android, the SDK now syncs `AppStartTime` and `AppBuildType` to the native layer ([#2557](https://github.com/getsentry/sentry-unity/pull/2557))