Skip to content

publish: getsentry/sentry-unity@4.12.0 #10126

Closed

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

Behavioral Changes

  • Screenshots are now sent in the same envelope as their event instead of separately, so they no longer get orphaned when the event gets dropped, e.g. by sampling or rate limiting. Events captured on background threads now get a screenshot as well, and events captured while a screenshot is still being taken share it. Screenshots are no longer attached in batch mode, nor to user feedback unless requested via addScreenshot. SetBeforeCaptureScreenshot can now get invoked on a background thread. SetBeforeSendScreenshot now runs once per screenshot, receiving the first of the events sharing it that didn't get dropped. (#2835)

Fixes

  • App hang detection no longer reports a false app hang after the game moves to the background. It now stays paused while the game is in the background or out of focus. (#2895)
  • The Linux native SDK now loads on distros with older glibc versions, such as Ubuntu 22.04 and Debian 12. (#2894)
  • Attaching a screenshot no longer stalls the main thread. Unless SetBeforeSendScreenshot is set, the frame gets read back from the GPU asynchronously and encoded on a background thread. (#2835)

Features

  • Added experimental support for Unity as a Library on Android and iOS. With AndroidNativeInitializationType or IosNativeInitializationType set to NativeInitializationType.External, the game attaches to the sentry-android or sentry-cocoa SDK that the app already started instead of bundling and starting its own. On Android, when the game runs in its own process, it starts sentry-android there and continues the app's trace. Native crashes carry the game's context and breadcrumbs, C# events and logs use the app's release, environment, user, and trace, the game's transactions join the app's trace, and the game's debug symbols are still uploaded automatically. (#2885, #2895)
  • The SDK now supports Linux ARM64 dedicated servers (Unity 6000.3 and newer, IL2CPP). The native SDK for both backends ships for x86_64 and ARM64, and the build picks the one matching the player. (#2894)
  • On Android, iOS, and macOS, C# events now report the connection type in device.connection_type and the cellular network generation in device.connection_effective_type, for example 4g or 5g. On Android 11 and earlier, the generation requires the READ_PHONE_STATE permission. (#2889)

Dependencies

Activity

  1. github-actions commented on Oct 30, 2026

    @github-actions

    Approved. Checking CI status on the release branch. Publishing will start automatically when CI passes.

  2. added
    ci-readyCI passed, safe to publish without polling
    and removed
    ci-pendingCI signal expected but not yet received
    on Oct 30, 2026
  3. getsantry commented on Oct 30, 2026

    @getsantry

    CI checks passed for getsentry/sentry-unity@4.12.0. Publishing is starting now.

  4. github-actions commented on Oct 30, 2026

    @github-actions

    Publishing: run#41069410313

  5. github-actions commented on Oct 30, 2026

    @github-actions

    Published successfully: run#41069410313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-readyCI passed, safe to publish without polling

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions