Testing with the sample application ‘UnitySampleCrasher’

Before you enable your Unity project with BugSplat technology, you may want to take a moment to experiment with our UnitySampleCrasher application.

First, login to BugSplat with user name fred@bugsplat.com and password Flintstone.

All crash reports in the fred@bugsplat.com account are actual crashes created with our sample applications. Reports from UnitySampleCrasher are mixed in with reports from other applications on the Crashes page.

To view just the UnitySampleCrasher crashes, filter using the drop-down menu in the header of the application column:
unitysamplecrasher-bugsplat-crashreport-4

To begin using the UnitySampleCrasher download the Unity Report Package.

Next open Unity and start a New Project. You can name this project whatever you would like. For this example, our project is named Unity Sample Crasher.

Once in Unity, go to Asset and select Custom Package under Import Package. Once there open the BugSplat .unitypackage file previously downloaded. This will place BugSplat into your Assets folder. Double-clicking the package will have the same effect.

Once it is in your asset folder, navigate to and select the folder named Scene. This will bring up the debug folder, which you will double-click on.
unitysamplecrasher-bugsplat-crashreport-2

Double-clicking will bring up the debug scene. Run this scene by hitting the run scene button (play button) at the top middle of the Unity window.

Once you do this, you will see in the Game Panel the scene UI showing three buttons. Any of these options will post a test crash, but for this example we will use the Prompted Exception button.

myunitycrasher-bugsplat-crashreportingdemo

By clicking that button, you will post the crash to the test database fred@bugsplat.com. To view it, navigate to the Crashes page.

To send the sample crash to a different database or play around with the version number or the auto screenshot feature, click on app on the left-hand Hierarchy Panel.

unitysamplecrasher-bugsplat-crashreport-3

Our Unity integration is in beta, so if you have any feedback or questions please either send us at support@bugsplatsoftware.com or tweet us @BugSplatCo.