Help us improve BugQuest by completing a short survey
In the Unity Editor, open the Package Manager.
In the Package Manager, open the + menu and select Add package from git URL and enter this GitHub URL:
Git must be installed and available in your system's PATH.
For more details please seeInstall a UPM package from a Git URLin the Unity documentation
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.
Click the green Setup button to setup the library in your project.
This will automatically:
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 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.
Replays let you record gameplay videos that will be available in the BugQuest dev console. Use them to capture moments around player actions or bugs.
Starts recording a replay.
Stops the active replay and optionally modifies what gets kept.
Returns whether a replay is currently recording.
public void StartBossFightReplay()
{
if (!BugQuestAPI.IsReplayRecording())
{
BugQuestAPI.StartReplay("BossFight");
}
}
public void StopBossFightReplay()
{
BugQuestAPI.StopReplay(onlyKeepLastMinutes: 5);
}Error clips are short videos automatically captured when the game encounters an error. They are enabled when the game starts but may be disabled or re-enabled at runtime using these methods.
Enables automatic Error Clips creation.
BugQuestAPI.EnableErrorClips();
Disables automatic Error Clips creation.
BugQuestAPI.DisableErrorClips();
Disables BugQuest error collection and upload for the rest of the current app session.
Applies only to the current app session. Error collection starts again on next application launch unless disabled again.
BugQuestAPI.Disable();
Disables all video features. Error Clips and Replays will not be created after this is called for the remainder of the current app session.
BugQuestAPI.DisableAllVideoFeatures();
Unity API method documentation is listed above under BugQuest API. This includes methods to start and stop Replays, enable and disable Error Clips, disable all video features, and completely disable BugQuest at runtime.