Unity Error and Performance Monitoring

Actionable insights to solve Unity errors.

Getting Started is Simple

Unity Verified

Install via the Unity Package Manager using a Git URL:

Text
https://github.com/getsentry/unity.git

Sentry can be configured via the Sentry configuration window or programmatically. The window can be accessed by going to Unity's top menu: Tools > Sentry.

More than 150K Organizations Trust Sentry with Their Application Monitoring

Unity Error Monitoring with Complete Stack Traces

See Unity stack trace details like filename and line number so you never have to guess. Filter and group Unity exceptions intuitively to eliminate noise. Monitor errors at scale without impacting throughput in production.

Performance Monitoring Across Your Game

Quickly identify Unity performance issues before they become downtime. View the entire end-to-end distributed trace to see the exact, poor-performing API call and surface any related errors.

Fill In The Blanks

Expose the important events that led to each Unity exception: debug logs, network requests, database queries, past errors.

See the Full Picture of Any Exception

With Sentry's exceptional exception handling in Unity, you can triage quickly based on specific parameters like HTTP request, workflow stage, and hostname for each issue. Set custom tags to recreate the error environment relevant to your app, business concerns, and users.
Sentry Logs showing structured log output alongside errors and traces

Structured Logging, With Debouncing

Structured logging captures contextual messages from your game with automatic event debouncing for high-volume output, so a log storm from one bad frame does not drown out the signal. Logs sit alongside the crash they preceded.

Learn more about Logs in Sentry.

Explore Logs
Sentry character illustration

Resolve Unity errors with max efficiency, not max effort

  • Improve workflow with a full view of releases so you can mark errors as resolved and prioritize live issues.
  • Learn in which version a bug first appeared, merge duplicates, and know if things regress in a future release.
  • Add commit data to automatically suggest an owner of each Unity error and instantly send deploy emails.
Manage releases with Sentry

"Sentry's high-quality tooling helps Disney+ maintain high-quality service to its tens of millions of global subscribers."

Andrew Hay
Director of Engineering
Disney Streaming Services

Is your data secure? You better believe it.

Just look at all the high-quality security features all accounts get, regardless of plan.

  • Two-Factor Auth
  • Single Sign-On support
  • Organization audit log
  • SOC 2 Type II and ISO 27001 certified
  • HIPAA attestation
Learn more about security
  • PII data scrubbing
  • SSL encryption
  • Data Processing Addendum (includes latest EU SCCs)
  • Privacy Shield certified
Learn more about privacy

Built for Real Builds, Not Just Editor Runs

Get real line numbers for C# exceptions in IL2CPP builds, so a production crash points at your actual code instead of a stripped native frame.

Ship beyond PC and mobile: alongside Windows, macOS, Linux, Android, and iOS, the Unity SDK supports PlayStation, Xbox, and Nintendo Switch.

Attach screenshots and the view hierarchy to an error, capture breadcrumbs from Debug.Log and scene changes, and cache events offline until the player reconnects.

FAQs

Traditional logging provides you with a trail of events. Some of those events are errors, but many times they're simply informational. Sentry is fundamentally different because we focus on exceptions, or in other words, we capture application crashes. We discuss in more detail here and on our blog.

Sentry now supports suspect commits for Unity applications, which helps you identify which code changes might have caused errors in your game. Once set up, Sentry will:

  • Show suspect commits that might have introduced errors
  • Link to the specific lines of code in your repository
  • Suggest potential assignees based on who authored the suspect commits

For more information on setup, read the docs.

You can get started for free. Pricing depends on the number of monthly events, transactions, and attachments that you send Sentry. For more details, visit our pricing page.

Yes. Alongside Windows, macOS, Linux, Android and iOS, the Sentry Unity SDK supports PlayStation, Xbox and Nintendo Switch, so you can monitor console builds with the same project and workflow as your PC and mobile builds.

Native crashes are captured through the platform SDKs underneath — the Android and iOS SDKs on mobile, and the Native SDK with minidumps on desktop.

Yes. The Unity SDK resolves line numbers for C# exceptions in IL2CPP builds, so a production crash report points at the actual line of C# rather than a stripped native frame.

Sentry can also attach screenshots and the view hierarchy to an error, records breadcrumbs from Debug.Log and scene changes, and caches events offline to send when the player reconnects.

Yes. Sentry Logs lets you send, view, and query structured logs from your application alongside your errors and traces. Because logs sit next to the error and the trace that produced them, you get the granular context — retries, API failures, internal state — that spans and stack traces alone can miss, without switching tools.

Learn more about Logs in Sentry.

Seer is Sentry's AI debugging agent. It reads the full context Sentry already has — the error, its stack trace, the surrounding trace, logs, and profiles — to find the root cause of an issue and propose a fix. Seer can open a pull request with that fix, hand the work to an external coding agent, or review your PRs before they ship.

Learn more about Seer and Autofix.

Improve your 99% latency with 1% effort.

Try Sentry's Unity monitoring today.