Skip to content

In-game bug reporter

Send player bug reports, build logs, and screenshots from Unity, Godot, TypeScript, or curl to tasks.

Build an in-game bug reporter

Ship a built-in bug and balance reporter inside your game without embedding an API key or secret in the game binary. Player reports arrive in a public portal's Reports inbox with structured JSON state (build, seed, platform, logs) and up to 4 screenshots, and can file backlog tasks automatically.

In-game feedback intake pipeline
  1. 01Studio Admin

    Enable intake

    Turn on Send feedback and Reports from a game on a public portal, pick a Destination project, and copy the public Intake ID.

  2. 02Game client

    Reserve & upload

    POST /uploads with installId and file size, then PUT up to 4 PNG/JPEG/WebP/GIF screenshots (10 MB max each).

  3. 03Game client

    Submit report

    POST /reports with installId, stable reportKey, category, player text, JSON payload (64 KB max), and screenshot IDs.

  4. 04Portal & Tasks

    Triage or auto-file

    Clean reports appear in Reports and optionally create backlog tasks. Links and duplicates are held for review.

Spam or abuse from an install
Mark a report as spam in the portal to block that installId and network address. Rotate the Intake ID anytime in portal Settings.
Offline player or crash mid-send
Persist the report and its generated reportKey on disk and retry in the background. Resending the same reportKey deduplicates cleanly.

Implement the reporter in your engine

  1. 1.

    Turn on Reports from a game

    In a public portal's Settings, enable Send feedback, then turn on Reports from a game and copy the Intake ID (starts with gi_).

  2. 2.

    Map reports to a project

    Open Edit form, pick a Destination project, and enable File game reports as tasks so verified reports land directly in your backlog.

  3. 3.

    Generate one persistent installId per install

    Create a random UUID on first launch and store it locally. Rate limits, screenshot reservations, and spam blocks tie to this ID.

  4. 4.

    Attach build metadata and send with a reportKey

    Attach a JSON payload (up to 64 KB) with build hash, platform, level/seed, and recent log lines, plus a unique reportKey per report for safe retries.

C#
using System;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Networking;

public sealed class ProjectFeedReporter
{
    private readonly string _baseUrl;
    private readonly string _installId;

    public ProjectFeedReporter(string intakeId)
    {
        _baseUrl = $"https://projectfeed.app/portal/intake/{intakeId}";
        _installId = PlayerPrefs.GetString("pf_install_id", "");
        if (string.IsNullOrEmpty(_installId))
        {
            _installId = Guid.NewGuid().ToString();
            PlayerPrefs.SetString("pf_install_id", _installId);
            PlayerPrefs.Save();
        }
    }

    // Generate reportKey once when the player creates the draft and persist it
    // alongside screenshotReservationIds so retries reuse the exact same key.
    public async Task<string> SendReportAsync(
        string reportKey,
        string category,
        string title,
        string description,
        string buildVersion,
        string[] screenshotReservationIds)
    {
        string body = JsonUtility.ToJson(new ReportBody
        {
            installId = _installId,
            reportKey = reportKey,
            category = category,
            title = title,
            description = description,
            screenshots = screenshotReservationIds
        });

        using var req = new UnityWebRequest($"{_baseUrl}/reports", "POST");
        req.uploadHandler = new UploadHandlerRaw(Encoding.UTF8.GetBytes(body));
        req.downloadHandler = new DownloadHandlerBuffer();
        req.SetRequestHeader("Content-Type", "application/json");
        req.SetRequestHeader("User-Agent", $"MyGame/{buildVersion}");

        var op = req.SendWebRequest();
        while (!op.isDone) await Task.Yield();
        if (req.result != UnityWebRequest.Result.Success)
            throw new Exception($"Intake failed ({req.responseCode}): {req.downloadHandler.text}");
        return req.downloadHandler.text;
    }

    [Serializable]
    private struct ReportBody
    {
        public string installId;
        public string reportKey;
        public string category;
        public string title;
        public string description;
        public string[] screenshots;
    }
}

Verify intake limits before launch

Default limits allow 10 reports/hour per install, 30/hour per network address, and 1,000/day per portal, with 256 KB max JSON body. Query GET /portal/intake/<intakeId> when the player opens your feedback modal to fetch live category keys and check whether feedback is currently paused.

Fix in-game feedback problems

The game receives 404 not_found
Confirm the portal is still public, Reports from a game is on, and the shipped build uses the current Intake ID (rotating the ID invalidates older IDs immediately).
Reports arrive in the inbox but do not create tasks
Check that a Destination project is set in Edit form and File game reports as tasks is enabled. Reports containing URLs or duplicate text from the last 24 hours are held and never auto-create tasks.
A screenshot upload returns 400 invalid
Ensure the PUT uses the exact Content-Length and Content-Type returned by /uploads, matches the file magic bytes, finishes within 30 minutes, and comes from the same installId as /reports.
Image preview
100%