Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-08T16:31:08.000Z (4 months ago)
- Last Synced: 2024-03-26T08:37:49.951Z (3 months ago)
- Topics: crash, crash-reporting, error-handler, error-monitoring, error-reporting, exception-handler, il2cpp, unity, unity3d
- Language: C#
- Homepage: https://backtrace.io/
- Size: 140 MB
- Stars: 120
- Watchers: 16
- Forks: 33
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Lists
- awesome - backtrace-labs/backtrace-unity - First-class error reporting for the Unity game engine. (C\#)
README
# Backtrace Integration with Unity
[![openupm](https://img.shields.io/npm/v/io.backtrace.unity?label=openupm®istry_uri=https://package.openupm.com)](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.