Skip to content

Releases: backtrace-labs/backtrace-unity

Version 3.16.1

Choose a tag to compare

@melekr melekr released this 10 Jun 18:42
872e63a

Version 3.16.1

Bugfixes:

  • iOS/macOS: Preserved report error.type classification when native Apple crash capture is enabled. Client/native dynamic attributes are now applied as defaults before report data is constructed, so report-scoped attributes (error.type, error.message, _mod_fingerprint) are no longer overwritten by native values.
    Managed exception reports keep their Exception/Unhandled exception classification, while native crash reports remain error.type=Crash.
  • Unity: Fixed parsing issue with native stack frames without symbol information.
    Frame parsing is now extracted into a dedicated BacktraceRawStackTraceParser with defensive bounds checks and additional unit-test coverage.

Version 3.16.0

Choose a tag to compare

@melekr melekr released this 13 May 19:38
bf70122

Version 3.16.0

Improvements :

WebGL

  • Add diagnostics for Unity log-callback exception reports where Unity supplies an exception message but an empty stackTrace string.
  • Add WebGL-default observation of original exceptions passed through Debug.LogException(exception) by wrapping Debug.unityLogger.logHandler.
  • Add stack-source classification for Unity log-callback reports:
    • original_exception_stacktrace
    • unity_log_callback_stacktrace
    • unavailable
  • Add optional browser JavaScript stack-at-capture annotation for stackless Unity log-callback reports. This is disabled by default and is supplemental context only.

Unity

  • Preserve Unity log/source context even when a report has no stack frames.
  • Preserve enriched report attributes and annotations through background-thread queueing.
  • Improve thread safety for background log handling and log-manager access.
Release notes:

- This release does not synthesize managed C# frames when Unity provides neither a callback stack nor an original exception object with a usable stack. 
In that case, the report is explicitly classified as stackless and preserves the best available diagnostic context.

Version 3.15.1

Choose a tag to compare

@melekr melekr released this 03 Feb 23:41
bd0fff1

Version 3.15.1

Improvements

WebGL:

  • Add support for offline reports storage and deferred submission.
  • Ensure offline crash persistence works when Backtrace is initialized while offline.
  • Enable offline persistence by default for WebGL runtime builds initialized via BacktraceClient.Initialize(url).
  • Move WebGL offline replay and filesystem flush logic from BacktraceClient into BacktraceDatabase to better align with SDK architecture.
  • Add write-ahead persistence to the PlayerPrefs-backed fallback queue to prevent data loss when send callbacks do not execute due to browser lifecycle teardown.
  • Improve rate-limit handling by preserving stored records and excluding HTTP 429 responses from retry attempts.
  • Improve WebGL mobile browser stability (Android Chrome / iOS Safari):
    • Avoid per-frame PlayerPrefs compaction to prevent excessive storage I/O, jank, and battery drain.
    • Improve resilience of PlayerPrefs access under browser storage constraints (e.g. browsing-modes / quota limits).
    • Harden IDBFS persistence by debouncing and guarding FS.syncfs calls.
    • Rely on modern browser lifecycle signals (pagehide, visibilitychange, freeze, blur) instead of unreliable unload events.

macOS:

  • Update Backtrace native plugin bundle layout to comply with Unity and Apple bundle requirements and prevent undefined behaviour during native crash handling

Bugfixes

- Unity 6000.3: Update scene attribute handling to restore compatibility.

Version 3.15.1-rc1

Version 3.15.1-rc1 Pre-release
Pre-release

Choose a tag to compare

@melekr melekr released this 13 Jan 23:16

Version 3.15.1-rc1

Improvements

  • WebGL: Add support for offline reports storage and deferred submission.
  • macOS: Update Backtrace native plugin bundle layout to comply with Unity and Apple bundle requirements and prevent undefined behaviour during native crash handling

Bugfixes

  • Unity 6000.3: Update scene attribute handling to restore compatibility.

Version 3.15.0

Choose a tag to compare

@melekr melekr released this 03 Dec 22:08

Version 3.15.0

Improvements

  • iOS/macOS: Update Unity native integration for Apple platforms.
  • Android: Fix native crash handler startup on split APK / OBB / Google Play Asset Delivery installs by resolving the correct APK path for the crash handler.
  • Android: Bump bundled Android binaries to the latest Backtrace Android SDK version.

Bugfixes

  • Windows: Fix unbounded growth of stored scoped attributes.

Version 3.14.1

Choose a tag to compare

@melekr melekr released this 24 Nov 22:58

Version 3.14.1

Improvements

  • Add support for Android offline native crash replay

Version 3.13.0

Choose a tag to compare

@melekr melekr released this 15 Aug 23:56
cb03649

Version 3.13.0

Improvements

  • Add 16KB page size support
  • Add simulator targets support
  • Update cocoa-lite library OOM handling

Version 3.12.2

Choose a tag to compare

@konraddysput konraddysput released this 14 Apr 15:53
9494af7

Version 3.12.2

Improvements

  • Fixed links to the docs in the jp version of the README file.

Bugfixes

  • Fixed an invalid generation of the guid attribute on specific platforms. Now, our machine identifier will always generate a valid GUID (#245).

Version 3.12.1

Choose a tag to compare

@konraddysput konraddysput released this 07 Mar 10:23
674cf73

Version 3.12.1

Bugfixes

  • Environment Variables are now optional. The user can still add them by using Annotations class. By default they're disabled.

Version 3.12.0

Choose a tag to compare

@konraddysput konraddysput released this 24 Jan 17:08
56ecf92

Version 3.12.0

Improvements

  • Exposed an option to get an application.session id via BacktraceMetrics (#238).
  • Backtrace client now allows to set a key-value pair via SetAttribute method (#240).
  • The SetAttributes method will now set attributes in the managed C# layer and the native layer (#240).

Bugfixes

  • Correct links to the docs (#239).
  • Fixed a problem where the game on Windows will crash in the release mode, due to lack of Backtrace native libraries (#236).
  • Fixed an error.type attribute value during handling ANR on Windows (#237).
  • Set correct uname.sysname for PS5 and Xbox.