Releases: getsentry/sentry-unity
Releases · getsentry/sentry-unity
2.3.0
Fixes
- Fixed an issue where the SDK would write the
SampleRate
as anint
instead of afloat
to the Android Manifest, causing issues during the Android SDK's initialization (#1872) - The SDK no longer calls into
Application.persistentDataPath
on unknown platforms. This prevents crashes during startup on platforms with restricted disk access like the Nintendo Switch (#1870) sentry-native
DLL is now statically linked against Windows CRT. This allows the SDK to provide native support on some Windows systems that do not have CRT installed locally (#1875)
Features
- The SDK now also supports capturing native crashes via the WER handler on Windows (#1873)
Dependencies
2.2.2
2.2.1
2.2.0
API Changes
- The
SentrySdk.Metrics
module is deprecated and will be removed in the next major release.
Sentry will reject all metrics sent after October 7, 2024.
Learn more: https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Upcoming-API-Changes-to-Metrics (#3619)
Fixes
- The SDK now uses the .NET SDK's
Options.FileWriteDisabled
to opt-out on any writing operations on 'unknown' platforms such as the Nintendo Switch (1814) - The SDK no longer freezes the game during shutdown when targeting WebGL (#3619)
- The SDK no longer passes a mangled
gpu.vendorId
to the Android native layer (#1813) - Access to the
StackTraceMode
was intended to be restricted due to incompatibility between IL2CPP andStackTraceMode.Enhanced
. The access modifier has been changed toprivate
to avoid pitfall and potential crashes (#1806)
Features
- Contexts, such as
device
andgpu
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) - Added an
ApplicationNotRespondingException
type that allows filtering of ANR events (#1800)
Dependencies
2.1.5
2.1.4
Fixes
- The SDK no longer deadlocks during the game shutting down when targeting WebGL (#1771)
- The SDK no longer fails to report errors after switching scenes when targeting WebGL (#1754)
Dependencies
2.1.3
2.1.2
2.1.1
Fixes
- Added a fallback for user.id on Android and iOS in case none could be extracted from the native layer (#1710)
- The IL2CPP exception processor no longer fails when the native support has been disabled (#1708)
- The SDK now checks whether the Android SDK is available before attempting to initialize it. This prevents
AndroidJavaException: java.lang.ClassNotFoundException: io.sentry.Sentry
from being thrown (#1714)
Dependencies
2.1.0
Fixes
- The SDK no longer throws an exception when failing to initialize the native SDK (#1693)
- On iOS, UnityWebRequests no longer break due to the native SDK appending the request URL a second time (#1699)
- The SDKs loglevel now also applies to sentry-cli logging (#1693)
- When targeting Android, sentry-cli will now log to the editor console (#1693)
- Fixed an issue with the SDK failing to automatically uploading debug symbols when exporting an
.aab
when targeting Android (#1698)
Features
- Added an
IgnoreCliErrors
to the Sentry-CLI options, allowing you to ignore errors during symbol and mapping upload (#1687)
Fixes
- When exporting Android projects, the SDK will now correctly add the symbol upload at the end of bundling (#1692)