Skip to main content
The game_crash event records that the last run of your game crashed: it did not exit normally while the game had focus (a crash, a force quit or a power loss). A running game cannot report its own crash, so the SDK sends game_crash at the next launch. It is a track event. It has the session ID and the time of the run that crashed. So it counts in that session and build, not in the session that reported it. A session with a game_crash, or with an unhandled critical error, is not crash-free. See Error tracking.

When it is sent

  • Godot, Unity and Unreal SDKs: at the next launch, when the last saved session was open and focused. A normal quit, or a close by the operating system in the background, is not a crash. A mobile game that the OS closes in the background is not a crash.
  • Web SDK with game: true: at the next load, if a tab of the game closed without pagehide. The tab was visible and had focus (for example a tab that ran out of memory). A normal close, reload or navigation is never a crash.
  • Electron: the main process can report an unclean exit with the Node.js SDK in app mode. See unclean exits in Electron.
  • Server builds send no game_crash unless you turn on track_server_builds.
  • The game SDKs write game_crash to disk as soon as it is queued.

Properties

Crash stacks

The SDK installs no crash handler. The engine already writes crash data at a crash: a backtrace in its log, or a crash folder. At the next launch, the SDK reads the crash data of the session that crashed and adds it to game_crash: An older SDK, or a crash with no engine crash data (a force quit or a power loss), sends game_crash without these properties. Turn crash stacks off with capture_crash_stacks (Godot), CaptureCrashStacks (Unity) or Capture Crash Stacks (Unreal). See crash stacks for the engines and SDK versions.

Sample payload

FAQ

The SDK sends game_crash at the next launch. If the player opens the game again a day later, the crash arrives then. It still counts in the session and build that crashed.
No. Older SDKs sent the crash as app_crash, which Manalens does not count any more. Update to Godot SDK 0.7.0, Unity SDK 0.7.0, Unreal SDK 0.8.0, or web SDK 0.6.0 or later, and ship a new build.
No. Manalens stores no native crash dumps and has no symbol upload. For full symbolication of native crashes, keep Sentry or Backtrace.