Skip to content

unity3d-jp/BacktraceUnitySample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backtrace Unity Sample Project

This sample project for Backtrace's integration with Unity showcases some of the basic features available in Backtrace:

Types of reports

  • Managed(C#)
  • Native (CPP/Java)
  • ANRs/Hangs
  • Memory (OOM)

Backtrace features

  • Breadcrumbs
  • Attachments
  • Linking source code

This project has been tested on Unity 2021.1.22f1 for iOS, Android, and Windows (IL2CPP, .Net standard 2.0) and it should work for other supported platforms as well.

Prerequisites

Getting started

  • Set up a new project in your Backtrace instance. Backtrace menu dialog box
  • Create a token for the project project. Backtrace menu dialog box
  • In your Backtrace web console project settings go to Integration->Unity and copy the URL of the server. Server Address
  • Clone this repo and open the "Scenes->SampleScene.unity" scene in Unity.
  • In the "Backtrace Client" component of the "Sample Errors" game object, enter the URL of your Backtrace instance in the "Server Address" field. Server Address

The URL should look something like this:

https://submit.backtrace.io/[instance name]/[token string]/json
  • Press "play" and click the buttons to see the various errors.
  • Open your Backtrace web console and confirm the reports are appearing. Server Address
  • Build (File->Build Settings...->Build) in Android / iOS / Windows platforms to test native errors.
  • (optional) If you want to see the symbolicated errors for native crashes, follow the steps in the readme file.
  • (optional) If you want to see the source code in the Backtrace web console, follow the steps in the support guide.

Custom webhooks

Below are some example custom Webhook integrations using Python with Docker. More information on setting up custom webhooks is available here:

Further reading

  • Please read the Backtrace Unity readme file for details on how to use Backtrace with Unity.
  • Consult the FAQ if you have further questions.
  • If you still have questions or would like more information / get a demo, please contact us.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published