Back to Blog Home

Keep Gamers Gaming — Application Monitoring for Unity

Rahul Chhabria image

Rahul Chhabria -

Keep Gamers Gaming — Application Monitoring for Unity

Given the millions of registered Unity developers worldwide, Unity is arguably the most popular engine used to develop games.  But, whether you’re building the latest FPS or a turn-based classic, you need visibility in how your game is performing on a gamer’s device.

More than 800 game development and platform companies rely on Sentry, from OutFit7 to Riot, Epic Games, and Unity. With Sentry, Unity and the rest of these organizations see the events (both errors and performance issues now) that actually matter, solve code issues quickly, and learn how each release performs over time.

To help Unity developers monitor their code across platforms and devices, we updated Sentry for Unity. Now when something goes unexpectedly wrong with your game, you won’t have to figure out what device, the OS, if there’s a performance regression, or deal with app version fragmentation — Sentry will tell you everything. This means that while your players are trying to catch them all, Sentry is catching all your errors and performance issues, and telling you how to fix them before they affect the player experience.

Performance Monitoring

Now, errors are only half the story. Unity developers also need to see if they’re providing a snappy and responsive gaming experience. That visibility means being able to know that your game is loading objects in a given viewport quickly and responding to user input as intended without any delay. Without this data, untreated performance problems can become serious errors. Performance, our aptly named performance monitoring solution, quickly highlights what occurred for a specific error or issue, the conditions that caused the bottleneck or latency issue, and the endpoints or operations that consume the most time.

If you’re feeling adventurous—and based on how many of you adopted early-access Sentry for Unity (> 500 teams, but who’s counting?), many of you are—you can now try Performance Monitoring for Unity in Early Access. Check out the docs or the performance tab in product to configure tracing.

Native Crash Reporting

For you iOS and Android game developers, there are some monitoring services that can report back when your game crashes—but events are usually just listed as an “abnormal session.” With this vague information, you’ll probably end up playing an extra fun round of 21 questions with your code and/or customer support. Alternatively, if you prefer to skip that guesswork, Sentry can tell you if a crash happens in the game or the native layer, like a plugin or native library you could be using.

Along with native iOS and Android crash reporting, you’ll have access to session data in real-time and know how a release impacts your users with metrics like crash-free sessions, crash-free users, and the overall health of a release.  New Release management features like sorting & filtering releases and Adoption Stages give game developers all of the data to decide if the team is ready to push a new release. Did that bug-fix release work? Or are the new characters you added in the latest rev functioning and playable? You’ll know the answer to these questions and more, immediately.

Not everyone is playing your games at the same time, meaning traffic will likely vary and constantly fluctuate as their gameplay changes and increases. So with Sentry, developers can define percent-based alerts which adjust to changes in traffic,  making sure you get notified of and effectively prioritize the most critical gamer experience issues.

Get Started

Install the Unity SDK via the Unity Package Manager using a Git URL pointing to Sentry's SDK.

Unity developers can benefit from the rich context that Sentry provides by simply creating a Sentry project and pasting their DSN in Unity.

In the event players hit an unexpected issue—anything from your game failing to instantiate specific objects or simply corrupted savegames—Sentry will report on device type, orientation, battery level (if applicable), GPU state, CPU info, and everything about the software and OS that your game is running on. You may ask, “But what if someone is playing my game offline?” No problem—both with offline gaming and intermittent network connectivity, Sentry will phone home with these events after the connection restores.

If one of the best parts of your day is testing your game on nine different platforms to find where your gamers are having sub-optimal experiences—Sentry may, unfortunately, cut it short. But hey, if you still want to debug, that’s fine. Your secret is safe with me.

The number of devices your games run on is growing exponentially. Don’t collect a bunch of random devices and consoles just to recreate a single issue. Instead, use Sentry which automatically reports errors and performance issues as they happen, the platform on which they occur, and all the contexted needed to identify the root cause. Unless your player is complaining of a blurry screen when playing Rad Racer. We don't have a boolean for isWearing3DGlasses.

Log in update your Unity SDK or if you're new to Sentry request a demo and try it out for free.

Share

Share on Twitter
Share on Bluesky
Share on HackerNews
Share on LinkedIn

Published

Sentry Sign Up CTA

Code breaks, fix it faster

Sign up for Sentry and monitor your application in minutes.

Try Sentry Free

Topics

SDK Updates

New product releases and exclusive demos

Listen to the Syntax Podcast

Of course we sponsor a developer podcast. Check it out on your favorite listening platform.

Listen To Syntax
© 2024 • Sentry is a registered Trademark of Functional Software, Inc.