Skip to content

4.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@sentry-release-bot sentry-release-bot released this 16 Jul 20:34

Breaking Changes

  • Removed Unity 2019 support, which reached End of Life in 2022. Minimum supported version now is 2020. (#2231)

  • Breaking Change: The Unity SDK's static API has been moved from Sentry.Unity.SentryUnity and Sentry.SentrySdk to Sentry.Unity.SentrySdk.
    This change enables manual/programatic SDK initialization with full functionality, previously only available through auto-initialization.
    The underlying .NET SDK's SentrySdk class is now internal, and several previously public classes like SentryInitialization
    and SentryIntegrations are now internal.

    Migration: Update your using directives from using Sentry; to using Sentry.Unity;. IDEs like Rider can automatically
    import the missing references. In some cases, you may need both using Sentry.Unity; (for the static API) and using Sentry;
    (for types like SentryId). No changes are required to your actual SDK method calls (e.g., SentrySdk.CaptureException()
    remains the same). (#2227, #2239)

Features

  • The SDK now comes with a SentryUserFeedback prefab ready to be used. You can drag and drop it into your scene or
    customize it by creating your own variant. The user feedback feature allows your users to provide feedback in form
    of a written message that can optionally have a screenshot attached. Read more about it (here). (#2220)

Dependencies