Create Game Feedback
Being able to gather feedback from players directly into LootLocker will allow you to find bugs much easier, without having to rely on multiple solutions, such as external forms. In this How To, we will look at a simple set up for reporting bugs found by the players.
Prerequisites
Retrieve Category IDs
Before we can create the Feedback report, we first need to find the category to send the game report under.
If you only have a single category, you could manually retrieve the category ID from the LootLocker Console. However, if you have multiple categories, you should list the categories and let the player choose which category to report under.
When working with Category IDs manually in your code, be aware that switching between environments (e.g. development, staging, production) requires you to modify which ID is used in your game code. This is not the case when using the endpoint to list the categories.
To retrieve all the categories, we can use the following code:
Send Game Report
Now that we have the Category ID, we can send the game report.
To send a game report, we need to provide the following information:
The category ID
Optionally a description, which can be entered by the player, or filled in by the game
Conclusion
In this How-to, we've gone through how to list categories and send game feedback. If you want to learn more you can read our Create UGC Feedback or Create Player Feedback How-to's.
Last updated