メインコンテンツまでスキップ

Test your setup

Last updated on September 12, 2025

Overview

After completed the configuration, you may need to test if the integration is fully working or not. We need to try and send the crash and issue to ADT Web, then from there, you will be able to see the callstack, crash video, and logs.

Test the crash reporter

Ensure you have done the Unity ADT SDK Installation before testing the crash reporter. Then, follow the instructions below:

  1. Open up the Editor and Create a new Button called CrashButton.

  2. Create a C# script named CrashButton.cs.
    The example script below is supposed to force the editor to crash using ForcedCrashCategory.AccessViolation type. For more information on Unity force crashes, go to this Utils ForceCrash page to learn more.

    using UnityEngine;
    using UnityEngine.UI;
    using UnityEngine.Diagnostics;

    public class CrashButton : MonoBehaviour
    {
    public Button button;

    void Start()
    {
    if (button != null)
    {
    button.onClick.AddListener(ClickToCrash);
    }
    }

    private void ClickToCrash()
    {
    // Force crashing Unity
    UnityEngine.Diagnostics.Utils.ForceCrash(ForcedCrashCategory.AccessViolation);
    // UnityEngine.Diagnostics.Utils.ForceCrash(ForcedCrashCategory.Abort);
    // UnityEngine.Diagnostics.Utils.ForceCrash(ForcedCrashCategory.MonoAbort);
    // UnityEngine.Diagnostics.Utils.ForceCrash(ForcedCrashCategory.FatalError);
    // UnityEngine.Diagnostics.Utils.ForceCrash(ForcedCrashCategory.PureVirtualFunction);
    }
    }
  3. Add the CrashButton.cs as a new component for the CrashButton. Also, drag-and-drop the CrashButton into the script to attach it as the button object.

  4. Click the Play button on the Editor.

  5. Wait around 5-7 seconds before making a crash. Unity SDK needs to do some processing in the background (initializing Session, setup directory, etc).

  6. Click the CrashButton and wait for Unity and Crash Reporter to process the crash (this process takes about 30-60 seconds).

  7. Go to ADT Web and select the Crashes menu. Locate if your crash has been successfully registered to ADT Web.

Test the issue reporter

To trigger the Issue Reporter and send it to ADT, here's what you need to do:

  1. Press the Hotkey button you've previously assigned in the ADT plugins Properties. A BlackBox Issue Reporter pop-up window will appear.

  2. Make an edit to the image captured if necessary.

  3. Make sure that the image attachment is checked.

  4. Click the Create an issue button to proceed to the next step.

  5. Select the Issue Type from the dropdown:

    a. Feedback if the issue is considered as a feedback or suggestion to the developer team
    b. Bug if the issue reported is considered as a bug or a mistake not following the design.

  6. Fill in the Issue Title, basically the summary of the issue being reported.

  7. Fill in the Description so that the Developer team can easily understand what the issue is all about.

  8. Click the Send button to complete the report to ADT.

  9. Go to ADT Web then open Issues menu and see if the issue is recorded properly in the page.