Skip to content

Releases: getsentry/sentry-unity

3.0.0-beta.0

23 Dec 13:03
Compare
Choose a tag to compare
3.0.0-beta.0 Pre-release
Pre-release

API Changes

  • The native layer on mobile platforms (iOS and Android) no longer self-initializes before the Unity game starts. Previously, the SDK would use the options at build-time and bake them into the native layer. Instead, the SDK will now take the options passed into the Configure callback and use those to initialize the native SDKs. This allows users to modify the native SDK's options at runtime programmatically.
    The initialization behaviour is controlled by IosNativeInitializationType and AndroidNativeInitializationType options. These can be set from Runtime (default) to BuildTime to restore the previous flow and bake the options into the native projects. (#1915, #1924)

Fixes

  • On Android, the SDK not longer freezes the game when failing to sync with the native SDK (#1927)

Dependencies

2.4.0

25 Nov 15:37
Compare
Choose a tag to compare

API Changes

  • The Runtime- and BuildTime-Configuration have been merged into a single OptionsConfiguration script. This allows for programmatic configuration of the SDK in one place using precompile directives. Note, that the current limitation of options for Android and iOS being baked into the project at build time still remains. (#1888)
    This is part of a larger effort to simplify the configuration of the native SDKs and enable users to modify their options at runtime. For more information see #1907

Features

  • The SDK now provides a dedicated sentry-cli scriptable config, available on the Debug Symbols tab. This allows for programmatic configuration of the used cli-options during build. (#1887)

Fixes

  • Fix potential NullReferenceException when trying to attach a view hierarchy to an event (#1919)
  • The SDK no longer sends events when it fails to initialize the native SDK on Windows and Linux and logs those instead. It also suppresses EntryPointNotFoundException if sentry-native is not available at runtime. Native crashes won't get capture but it'll continue to capture C# errors. (#1898)
  • The SDK no longer closes the underlying native SDK during the games shutdown if native support has not been enabled. This allows the SDK to support and capture errors in case of building the game as a library on a mobile (Android or iOS) game. (#1897)

Dependencies

2.3.0

02 Nov 23:54
Compare
Choose a tag to compare

Fixes

  • Fixed an issue where the SDK would write the SampleRate as an int instead of a float 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

22 Oct 17:51
Compare
Choose a tag to compare

Fixes

  • The SDK no longer fails to report contexts like device and gpu (#1850)

2.2.1

14 Oct 21:34
Compare
Choose a tag to compare

Dependencies

2.2.0

09 Oct 22:09
Compare
Choose a tag to compare

API Changes

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 and StackTraceMode.Enhanced. The access modifier has been changed to private to avoid pitfall and potential crashes (#1806)

Features

  • 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)
  • Added an ApplicationNotRespondingException type that allows filtering of ANR events (#1800)

Dependencies

2.1.5

03 Sep 16:37
Compare
Choose a tag to compare

Fixes

  • The update of the Cocoa dependency resolves various crashes on Apple platforms

Dependencies

2.1.4

22 Aug 14:49
Compare
Choose a tag to compare

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

30 Jul 09:56
Compare
Choose a tag to compare

Fixes

  • The SDK no longer throws System.DllNotFoundException during initialization when running a headless Linux server build (#1748)
  • The SDK now correctly uses forward slashes when modifying the gradle project when setting up debug symbol and mapping upload (#1747)

Dependencies

2.1.2

24 Jul 15:28
Compare
Choose a tag to compare

Fixes

  • The SDK no longer causes games to crash out of the box on platforms that have disk access restrictions (i.e. Nintendo Switch) (#1728)
  • The SDK no longer causes crashes on Unity 6 in an attempt to provide line numbers (#1735)

Dependencies