Help us improve BugQuest by completing a short survey

Share Your Feedback

BugQuest Installation Guide

Step-by-step instructions to integrate BugQuest with your Unity project

1Use Unity's Package Manager to Install the Library

In the Unity Editor, open the Package Manager.

Opening the Package Manager in Unity

In the Package Manager, open the + menu and select Add package from git URL and enter this GitHub URL:

https://github.com/Main-Tank-Software/bugquest-unity.git

When copying the URL, make sure there is no trailing whitespace at the end.

Adding the package by name
Adding the package by name

For more details please seeInstall a UPM package from a Git URLin the Unity documentation

2Setup the Library

After the library is installed the Setup window should automatically appear. If it does not, open it by selecting BugQuest.GG under the Window menu.

Open the BugQuest window

Click the green Setup button to setup the library in your project.

This will automatically:

  • Get an API key for your project
  • Create a GameObject in your current scene
  • Create a link to our website to quickly setup an account associated with this project

Your game's first scene must be loaded in the Unity Editor when you click Setup. This allows the BugQuest GameObject to load immediately when the game launches.

Click Setup

3Visit the Web Interface

Click the link that appears or copy it to your clipboard and paste it in a browser window. This will take you to the web interface where you can quickly create an account and view your errors.

Register with the dev console

Additional Documentation

Disable BugQuest at Runtime

If you wish to disable BugQuest at runtime until the application restarts, use the following function:

void DisableBugQuest()
{
    string fullyQualifiedName = "BQ.Runtime.Shared.BugQuest, BQ_shared";
    Type bugQuestType = Type.GetType(fullyQualifiedName);
    if (bugQuestType == null)
    {
        Debug.Log($"Class {fullyQualifiedName} not found.");
        return;
    }
    MethodInfo disableMethod = bugQuestType.GetMethod("Disable", BindingFlags.Public | BindingFlags.Static); 
    if (disableMethod == null)
    {
        Debug.Log($"Method 'Disable' not found in {fullyQualifiedName}.");
        return;
    }
    disableMethod.Invoke(null, null);
    Debug.Log("BQ disabled.");
}

BugQuest will no longer collect errors or send anything to our servers until the application restarts. This can be useful if you want to allow users to opt out of any automated error collection.

The disabled state does not persist through an application restart. Error collection will automatically restart the next time the application launches and must be disabled again if you do not want error collection to occur.

Support and Feedback

Please give us your feedback by completing this short survey.
Please email us at support@bugquest.gg if you have any questions or need help.

Legal Documents