Set up User Reporting
Integrate the User Reporting SDK with your app to enable player feedback collection.
Read time 2 minutesLast updated a day ago
Integrate the User Reporting SDK with your app to set up user reports. Once integrated, you can use the built-in user report prefab, or create your own custom user reports without the prefab.
To add the built-in example User Reporting Prefab to your project:
- Open the Package Manager in the Editor, then locate the User Reporting package and select the Samples tab.
- Locate the User Reporting Example, and select Import.
- In your project, add the User Reporting Prefab to the desired scene.
- In your Assets folder, open Samples and select the User Reporting folder.
- Open the folder titled with the package version you installed (for example, 1.0.0).
- Open the User Reporting Example folder.
- Drag and drop the UserReportFormExample prefab into your scene.
Set up notifications for new reports
User Reporting supports new report notifications via Integrations so you can connect your development workflow to non-Unity tools. Receive a notification via third-party integrations such as email, Slack, Discord, Trello, and more. To set up notifications:- In the Unity Dashboard, select Home > Projects.
- Select your project.
- In the primary navigation menu, select Development > Settings.
- In the Project Integrations section, select New Integration.
- Select the type of integration you want to add.
- Enter the connection details and settings for your chosen integration service.
- Depending on your integration, select Create or Connect.
Test reports and notifications
The sample scene is an effective tool for confirming whether or not your User Reporting has been set up correctly. In this example, we’ll optionally include a test of the email notification integration for new reports. To set up email notifications (optional):- In the Unity Dashboard, select Home > Projects.
- Select your project. Note: Make sure you’ve added and enabled User Reporting for the project before setting up report notifications.
- In the primary navigation menu, select Development > Settings.
- In the Project Integrations section, select New Integration.
- Select the type of integration you want to add.
- Enter the connection details and settings for your chosen integration service.
- Depending on your integration, select Create or Connect.
- Enable the Report Received event option.
- Open your Unity project.
- In your Assets folder, open Samples and select User Reporting.
- Locate the UserReportingExample.unity scene in the User Reporting Example folder.
- Start the scene. Click anywhere to spawn a cube in the scene, the select Create Report to open the submission form.
- Fill out the form and select Submit, and check the report is sent successfully.
- In the Unity Dashboard, go to Development > Products.
- Select Cloud Diagnostics.
- Select User Reporting.