Skip to content

publish: getsentry/sentry-unity@4.4.0 #8410

@sentry-release-bot

Description

@sentry-release-bot

Requested by: @bitsandfoxes

Merge target: (default)

Quick links:

Assign the accepted label to this issue to approve the release.

Targets

  • upm
  • github
  • registry

Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.


📋 Changelog

Features

  • Introduce sentry-native as an experimental backend on macOS and Windows. Opt in via options.Experimental.MacosBackend = MacosBackend.Native or options.Experimental.WindowsBackend = WindowsBackend.Native. The sentry-native backend uploads crashes immediately and enables further updates such as AppHangTracking support (#2687, #2692)

Fixes

  • The SDK now uses Gradle's built-in Exec task type when setting up the automated debug symbol upload. This resolves builds failing when targeting Android on Unity 6.4 (#2686)
  • When targeting iOS, the SDK no longer crashes in urlSessionTask:setState: when handling an AVAssetDownloadTask (#2677)

Features

  • Added EnableAppHangTracking (default true) and AppHangTimeout (default 5s) to enable app hang detection via the native SDK. Currently effective on iOS through sentry-cocoa, which monitors the main thread and produces a stack trace for the hang event. On other platforms this is a no-op until each platform's native hang detection lands. When enabled on iOS, the Unity SDK's C# watchdog is skipped to avoid duplicate reports (#2679)
  • Added AndroidNativeAnrEnabled (default true) to enable ANR detection through the sentry-java SDK. The native ANR integration monitors the Android UI thread. On API ≥ 30 this uses ANR v2 via ApplicationExitInfo to report OS-detected ANRs from prior runs; on API < 30 it falls back to an in-process watchdog. This is complementary to the Unity SDK's C# watchdog, which monitors the Unity player loop. (#2671)

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedAdd to approve the deployci-readyCI passed, safe to publish without polling
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions