https://github.com/backtrace-labs/backtrace-unity
First-class error reporting for the Unity game engine.
https://github.com/backtrace-labs/backtrace-unity
crash crash-reporting error-handler error-monitoring error-reporting exception-handler il2cpp unity unity3d
Last synced: 8 months ago
JSON representation
First-class error reporting for the Unity game engine.
- Host: GitHub
- URL: https://github.com/backtrace-labs/backtrace-unity
- Owner: backtrace-labs
- License: other
- Created: 2018-10-22T16:26:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-26T21:25:30.000Z (9 months ago)
- Last Synced: 2025-03-29T03:09:04.925Z (9 months ago)
- Topics: crash, crash-reporting, error-handler, error-monitoring, error-reporting, exception-handler, il2cpp, unity, unity3d
- Language: C#
- Homepage: https://backtrace.io/
- Size: 151 MB
- Stars: 144
- Watchers: 16
- Forks: 35
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Backtrace Integration with Unity
[](https://openupm.com/packages/io.backtrace.unity/)
[Backtrace](http://backtrace.io/)'s integration with Unity allows you to capture and report log errors, handled and unhandled Unity exceptions, and native crashes so you can prioritize and debug software errors.
## Installation
```
# Install openupm-cli
npm install -g openupm-cli
# Go to your Unity project directory
cd YOUR_UNITY_PROJECT_DIR
# Install the latest io.backtrace.unity package
openupm add io.backtrace.unity
```
## Usage
```csharp
//Read from manager BacktraceClient instance
var backtraceClient = GameObject.Find("_Manager").GetComponent();
try
{
//throw exception here
}
catch(Exception exception)
{
var report = new BacktraceReport(exception);
backtraceClient.Send(report);
}
```
## Documentation
For more information about the Unity integration, including installation, usage, and configuration options, see the [Unity Integration guide](https://docs.saucelabs.com/error-reporting/platform-integrations/unity/setup/) in the Sauce Labs documentation.