Debug overlay

Press the key above Tab (Settings > Overlay Key), or tap with three fingers, while playing.

Console #

The console with level filters and a command line, and the stats strip at the top right
The console with level filters and a command line, and the stats strip at the top right
  • Search finds words in messages and stack traces.
  • Info, Warnings, Errors show or hide each level; the numbers count everything that matches the search.
  • Collapse groups identical lines (same message and stack) with a count.
  • Clear hides what's there now; new lines still arrive.
  • Tap a line for its stack trace, Copy, or Report this, which opens the form with the message filled in.
  • Copy all copies every line shown.
  • The command line runs commands: type help for the list, timescale 0.5 for slow motion, or your own (see Extending). Each command and its answer go into the log, so they reach reports too.

While the overlay is closed, a small badge counts new warnings and errors. Tap it to open the console.

Stats #

Frame rate, average and worst frame time, memory and garbage collections, with a graph of the last 120 frames: green within 60 FPS, amber within 30, red above. Settings > Stats Strip: With Overlay, Always or Off.

Options #

Switches, numbers, choices, buttons and read-only values from your Debug Options Sources and [DebugOption] fields. Pin keeps an option on screen, still working, while the overlay is closed. Keep stats on screen does the same for the stats.

A pinned option at the bottom left and the stats strip at the top right, with the overlay closed
A pinned option at the bottom left and the stats strip at the top right, with the overlay closed

Cost #

Closed, the overlay reads two numbers a frame and allocates nothing. Open, it refreshes four times a second.

Something unclear or wrong? Tell us · Get help