LootLocker
The BasicsGame SystemsContent ManagementPlayer Management
LootLocker
  • 📌The Basics
    • Getting Started
    • What is LootLocker?
    • Core Concepts
      • Players
      • Assets
      • Character Classes
      • API Types
      • Web Console
      • Stage & Live Environments
      • Glossary
    • Unity Quick Start
      • Install the SDK
      • Configure the SDK
      • Authenticate Your First Player
      • Update the SDK
    • Unreal Quick Start
      • Install & Configure the SDK
        • Older versions
      • Authenticate Your First Player
    • Godot Quick Start
      • Install the SDK
      • Configure the SDK
      • Authenticate Your First Player
      • Update the SDK
    • SDKs
    • Samples
      • Authentication Samples
      • Leaderboard Samples
      • Progression Samples
      • Player Samples
    • Launching Your Game
    • Support
      • Error Codes
      • Unreal Marketplace Plugin Support
  • 🎭Players
    • Overview
    • Authentication
      • How To
        • Guest Login
        • Steam
        • Apple
        • Apple Game Center
        • Google
        • Epic Games
        • PlayStation
        • Meta / Oculus
        • Xbox
        • Nintendo Switch
    • Files
      • How To
        • Manage Files in Web Console
        • Work with Files In-Game
    • Inventory
      • How To
        • Work with Player Inventory
    • Messages
      • How To
        • Configure Messages in Web Console
    • Names
      • How To
        • Work with Player Names
    • Player Manager
      • How To
        • Manage Players through Web Console
        • Manage Players In-Game
        • Use Player Operations
    • Unified Player Accounts
      • How To
        • Configure UPA in Web Console
        • Use Remote Login In-Game
        • Connect Identiy Provider to Player
        • External Provider Linking
        • Transition from Guest Login to Other Provider
        • Disconnect Identity Provider from Player
    • White Label Login
      • How To
        • Configure White Label Login
        • Create a New White Label User
        • Request User Verification
        • Handle Returning Users
        • Start a White Label Session
  • đŸĒ™Commerce
    • Overview
    • Catalogs
      • How To
        • Configure Catalogs in LootLocker Console
        • List all Catalogs
        • Use Catalogs In-Game
        • Setup In-Game Store
    • Currencies
      • How To
        • Configure a Currency in Web Console
        • Use Currencies In-Game
    • DLC Management
      • How To
        • Configure DLC in Web Console
        • Use DLC In-Game
    • Entitlements
      • How To
        • Work with Entitlements In-Game
    • Real Money Purchases
      • How To
        • Configure In-App Purchase in Web Console
        • Make Purchases through Google Play Store
        • Make Purchases through Apple Store
        • Make Purchases through Steam Store
    • Virtual Purchases
    • Wallets
      • How To
        • Manage a Wallet in Web Console
        • Use Wallets In-Game
  • âš”ī¸Content
    • Overview
    • Assets
      • How To
        • Create & Configure an Asset
        • Organize & Search for Assets
        • Retrieve Assets In-Game
        • Set up Asset Storage Template
        • Check Grant Notifications
        • Set up a Game Config Asset
        • Create a Loot Box
        • Work with Loot Boxes In-Game
        • Create a Drop Table
        • Work with Drop Tables In-Game
        • Create a Rental Asset
        • Work with Rental Assets In-Game
    • User Generated Content (UGC)
      • How To
        • Create UGC In-Game
    • Twitch Drops
  • đŸ•šī¸Game Systems
    • Overview
    • Classes & Heroes
      • How To
        • Base Classes
        • Hero Classes
        • Implement Classes In-Game
        • Implement Heroes In-Game
    • Leaderboards
      • How To
        • Configure Leaderboard in Web Console
        • Use Player Leaderboards
        • Use Generic Leaderboards
        • Use Metadata to Store Additional Information
        • Use Scheduled Reset with Rewards
        • Use Leaderboards for Time Based Rankings
      • Leaderboard FAQ
      • GameMaker References
    • Feedback
      • How To
        • Manage Feedback Categories
        • Create Player Feedback
        • Create UGC Feedback
        • Create Game Feedback
        • View and Manage Feedback
    • Progressions
      • How To
        • Create a Progression
        • Game Progressions
        • Player Progressions
        • Class Progressions
        • Asset Instance Progressions
    • Triggers
      • How To
        • Setup a trigger in the Web Console
        • Invoke trigger from game
  • â›“ī¸Shared Systems
    • Overview
    • Metadata
      • How To
        • Add Metadata in Console
        • Fetch a Single Metadata In-Game
        • Fetch Metadata In-Game by Tags
        • Fetch Metadata In-Game from Multiple Sources
    • Notifications
      • How To
        • List Notifications and Mark as Read In-Game
  • đŸ—ī¸Admin
    • Settings
    • User Settings
    • Organization Settings
    • CORS Allowlist
  • â­•ī¸ Legacy
    • Deprecations
      • Unity SDK Deprecation Log
        • Version 2.1.5 - Migration to Open UPM
        • Version 2.0.0
      • Unreal SDK Deprecation Log
        • Version 4.0.0
        • Version 3.0.0
    • Legacy Storage
    • Legacy Triggers
      • Activate a trigger
      • Create a trigger
    • Legacy Progressions
      • Create a Progression System
      • Use a Progression System In-Game
Powered by GitBook
On this page
  • Prerequisites
  • Retrieve Category IDs
  • Send Game Report
  • Conclusion
  1. Game Systems
  2. Feedback
  3. How To

Create Game Feedback

PreviousCreate UGC FeedbackNextView and Manage Feedback

Last updated 7 months ago

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 . 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:

public void GetGameFeedbackCategories()
{
    LootLockerSDKManager.ListGameFeedbackCategories((response) =>
    {
        if (!response.success)
        {
            // Replace this with your own error handling
            Debug.Log("Could not list game related feedback categories");
            Debug.Log(response.errorData.ToString());
            return;
        }

        // Replace this section with your own UI to let the player choose the category
        foreach (var category in response.categories)
        {
            Debug.Log(category.name + "\n"
                + category.description + "\n"
                + category.id);
        }
    });
}
curl -X "https://api.lootlocker.io/game/feedback/category/entity/game" \
    -H "x-session-token: your_token_here"

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

public void SendGameFeedback()
{
    string categoryID = "category_id_here";
    string description = "The tutorial gets stuck when I double tab space";

    LootLockerSDKManager.SendGameFeedback(description, categoryID, (response) =>
    {
        if (!response.success)
        {
            // Replace this with your own error handling
            Debug.Log("Could not create report");
            Debug.Log(response.errorData.ToString());
            return;
        }

        // Replace this with your own success handling
        Debug.Log("Report sent to LootLocker");
    });
}
curl -X "https://api.lootlocker.io/game/feedback" \
    -H "x-session-token: your_token_here" \
    -D '{
    "entity": "game",
    "category_id": "category_id_here",
    "description": "The tutorial gets stuck when I double tab space"
    }'

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 or How-to's.

đŸ•šī¸
An active Game Session
At least 1 configured Game Feedback Category
LootLocker Console
Create UGC Feedback
Create Player Feedback
Blueprint example of listing feedback categories for the game
Blueprint example of creating game feedback