4.0.0-beta.0
Pre-releaseBreaking 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
andSentry.SentrySdk
toSentry.Unity.SentrySdk
.
This change enables manual/programatic SDK initialization with full functionality, previously only available through auto-initialization.
The underlying .NET SDK'sSentrySdk
class is now internal, and several previously public classes likeSentryInitialization
andSentryIntegrations
are now internal.Migration: Update your
using
directives fromusing Sentry;
tousing Sentry.Unity;
. IDEs like Rider can automatically
import the missing references. In some cases, you may need bothusing Sentry.Unity;
(for the static API) andusing Sentry;
(for types likeSentryId
). 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)