Repository navigation
publish: getsentry/sentry-unity@4.12.0 #10126
Copy link
Copy link
Closed
Labels
ci-readyCI passed, safe to publish without pollingCI passed, safe to publish without polling
Description
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.SetBeforeCaptureScreenshotcan now get invoked on a background thread.SetBeforeSendScreenshotnow 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
SetBeforeSendScreenshotis 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
AndroidNativeInitializationTypeorIosNativeInitializationTypeset toNativeInitializationType.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_64andARM64, 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_typeand the cellular network generation indevice.connection_effective_type, for example4gor5g. On Android 11 and earlier, the generation requires theREAD_PHONE_STATEpermission. (#2889)
Dependencies
Metadata
Metadata
Assignees
Labels
ci-readyCI passed, safe to publish without pollingCI passed, safe to publish without polling
Activity
github-actions commentedon Oct 30, 2026
Approved. Checking CI status on the release branch. Publishing will start automatically when CI passes.
getsantry commentedon Oct 30, 2026
CI checks passed for getsentry/sentry-unity@4.12.0. Publishing is starting now.
github-actions commentedon Oct 30, 2026
Publishing: run#41069410313
github-actions commentedon Oct 30, 2026
Published successfully: run#41069410313