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 withoutpagehide. 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_crashunless you turn ontrack_server_builds. - The game SDKs write
game_crashto 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 togame_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
Why is a crash reported a day later?
Why is a crash reported a day later?
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.My SDK sends app_crash. Is it counted?
My SDK sends app_crash. Is it counted?
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.Does Manalens store crash dumps?
Does Manalens store crash dumps?
No. Manalens stores no native crash dumps and has no symbol upload. For full symbolication of native crashes, keep Sentry or Backtrace.