Skip to content

First-class error reporting for the Unity game engine.

License

Notifications You must be signed in to change notification settings

mrcece/backtrace-unity

 
 

Repository files navigation

Backtrace Integration with Unity

openupm

Backtrace'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

 //Read from manager BacktraceClient instance
var backtraceClient = GameObject.Find("_Manager").GetComponent<BacktraceClient>();
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 in the Sauce Labs documentation.

About

First-class error reporting for the Unity game engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.2%
  • Java 1.5%
  • Shell 0.3%