Skip to content
Open studio
Menu

In-game reporter (F8)

Add the F8 bug reporter to Unreal, Unity or Godot so reports arrive with build, hardware, a screenshot and logs.

What a report contains#

Players press F8, type what went wrong and send. Each report carries:

  • What the player typed (up to 8,000 characters).
  • The build version, operating system, GPU and whether it runs on a Steam Deck.
  • The level name and the player’s position.
  • Breadcrumbs: short events from the last 60 seconds, such as level loads and your own entries.
  • A screenshot (JPEG, up to 1 MB), taken when F8 is pressed, before the report window opens.
  • The end of the game log (up to 64 KB).
  • A random ID for the install. The game does not send the player’s name or account.

Before a log is stored, Patchrally replaces the computer name, user name and command line in Unreal logs, and the user folder name in file paths in every log, with [removed]. Screenshots and logs are deleted after 90 days, or 30 days after the bug ships if that is later.

The reporter also shows players a “Fixed from your report” notice after an update fixes their bug. See Releases.

Your SDK key and endpoint#

The SDK key tells Patchrally which game a report is for. It is shown once, when you choose Create game. Copy it then.

The key ships inside your game, so players can extract it. Treat it as a public ID, not a password.

To replace it (for example, if you lost it):

  1. Open the game’s Settings tab and find SDK key.
  2. Choose Replace SDK key and confirm.
  3. Copy the new key, then choose I’ve stored it.

The SDK also needs your Patchrally endpoint, the address reports are sent to. The dashboard doesn’t list it on its own yet: it is the part before /v1/ in the Status webhook URL (Settings, Ticket status sync, shown once a ticket provider is saved) or the MCP endpoint (studio home, Agent access, on paid plans).

Install in Unreal Engine#

Unreal Engine 5.4 or later, with C++, Blueprint or AngelScript.

  1. Copy the Unreal SDK folder to <Project>/Plugins/Patchline/ and enable the plugin.
  2. Add this to Config/DefaultGame.ini. Keep the quotes around the endpoint: without them Unreal cuts the address at //.
    [Patchline]
    Endpoint="https://<your endpoint>"
    ApiKey=<your SDK key>
    ; optional, defaults to the project version
    BuildVersion=1.2.3
  3. In C++, add "PatchlineUE5" to PublicDependencyModuleNames in your *.Build.cs.
  4. On F8, call BeginF8Report before you open your report widget. It saves the screenshot, level, position and breadcrumbs of that moment.
  5. From your widget’s Submit button, call SubmitF8Report with the player’s text.
UPatchlineSubsystem* Patchline = GetGameInstance()->GetSubsystem<UPatchlineSubsystem>();
Patchline->BeginF8Report(true);   // on F8
Patchline->SubmitF8Report(Text);  // on Submit

In Blueprint, use Get Game Instance Subsystem (PatchlineSubsystem), then Begin F8 Report and Submit F8 Report. With Hazelight’s AngelScript, copy AngelScript/PatchlineF8Handler.as into Script/ and place APatchlineF8Handler in the level for a one-key report.

Unreal has no built-in report window or “fixed” notice: you build the widget, and bind OnReleaseAvailable to show the notice. Reports sent within 5 seconds of the last one are ignored.

Install in Unity#

Unity 2021.3 or later. WebGL builds are not supported.

  1. In Unity, open Package Manager, choose + › Add package from git URL, and enter the Patchrally package’s git URL (it ends in ?path=sdks/unity).
  2. Call Configure once at startup, for example in your bootstrap’s Awake:
    using Patchline;
    
    PatchlineReporter.Configure("https://<your endpoint>", "<your SDK key>", Application.version);
    PatchlineReporter.Instance.trackedTransform = player.transform; // optional
  3. Press F8 in play mode. A small built-in window opens with Send and Cancel.

To use your own panel instead, subscribe to PatchlineReporter.ReportRequested and call PatchlineReporter.Submit(text) or PatchlineReporter.Cancel(). The built-in window only works with the legacy Input Manager (or “Both”). With the new Input System only, you must use your own panel.

Install in Godot#

Godot 4.2 or later, GDScript.

  1. Copy the SDK’s addons/patchline/ folder to <project>/addons/patchline/.
  2. In Project › Project Settings › Plugins, enable Patchrally.
  3. In Project Settings › General › patchline/, set endpoint (no path), api_key (your SDK key) and, if you like, build_version and hotkey (F8 by default).
  4. Run the game and press the hotkey. A one-line prompt opens: Enter sends, Esc cancels.

In the editor, F8 stops the running project, so the SDK uses Shift+F8 there. Exported games use your hotkey.

For your own dialog, connect Patchline.report_requested and call Patchline.submit(text) or Patchline.cancel(). Gate polled input while the built-in prompt is open:

func _physics_process(delta: float) -> void:
    if Patchline.is_prompt_open(): return

Frame rate and threads#

Each SDK is under 500 lines with no third-party libraries, and it never pauses your game. Image encoding, log reading and the upload run off the game thread.

Reading the screenshot from the GPU has to happen on the game thread. In Unreal, the first screenshot of a session can hitch for most of a second (measured on a Mac), the same cost as Unreal’s own first screenshot; later ones add about 20 to 30 ms to one frame. To avoid it, pass false for the screenshot in BeginF8Report or SubmitF8Report.

If something goes wrong#

The SDKs fail quietly so they never break your game. They write a warning to the game log (LogPatchline in Unreal, [Patchline] in Unity and Godot) and drop the report. With the built-in prompts the player sees nothing either way. In Godot, connect report_sent(ok) to tell the player whether it was sent.

Patchrally refuses a report when:

  • The key is wrong or was replaced. Ship a build with the current SDK key.
  • One game sends more than 60 reports a minute (short bursts up to 120 are fine). Unity and Godot retry once when Patchrally asks them to wait 60 seconds or less; otherwise the report is dropped.
  • A studio sends far more in-game reports in a week than any plan allows (at least 50,000), which protects you if the key leaks.
  • The screenshot is over 1 MB or the log over 64 KB. The SDKs keep both under these limits.

Your plan’s monthly allowance never refuses a report. Over it, reports are processed more slowly. See Plans and billing.