
Report di crash
Rilevi, raggruppi e risolva i crash prima che affondino la valutazione sugli store
Raggruppamento intelligente
I crash con lo stesso fingerprint vengono raggruppati automaticamente, così vede un unico problema risolvibile invece di migliaia di report duplicati.
Traccia di breadcrumb
Fino a 50 eventi breadcrumb prima del crash rivelano esattamente cosa stava facendo il giocatore, permettendoLe di riprodurre il problema in modo affidabile.
Tasso sessioni senza crash
Monitori la percentuale di sessioni che si completano senza crash e osservi il miglioramento man mano che risolve i problemi.
Integrazione rapida
Gioco in esecuzione
// Unity C#: Crash Reporting
using System;
using System.Collections.Generic;
using PM.horizOn.Cloud.Manager;
// Once at startup: registers the crash session and catches unhandled exceptions
CrashManager.Instance.StartCapture();
CrashManager.Instance.SetUserId(UserManager.Instance.CurrentUser.UserId);
// Context that is sent with the next report
CrashManager.Instance.RecordBreadcrumb("scene", "Entered world_3");
// Report a handled exception as NON_FATAL
try { LoadTextures(); }
catch (Exception ex)
{
CrashManager.Instance.RecordException(ex, new Dictionary<string, string> { ["asset"] = "boss_texture" });
}# REST API: Crash Reporting
# Create a crash session at app start
curl -X POST https://horizon.pm/api/v1/app/crash-reports/session \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sessionId":"SESSION_ID","appVersion":"1.2.3","platform":"Android"}'
# Report a crash (type CRASH, NON_FATAL or ANR)
curl -X POST https://horizon.pm/api/v1/app/crash-reports/create \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sessionId": "SESSION_ID",
"type": "CRASH",
"message": "NullReferenceException in PlayerController",
"fingerprint": "PlayerController.NullRef",
"appVersion": "1.2.3",
"sdkVersion": "1.0.0",
"platform": "Android",
"os": "Android 14",
"deviceModel": "Pixel 8"
}'Questi esempi usano l'SDK per Unity (C#) e la REST API. Godot e Unreal hanno le stesse chiamate nei loro SDK: vedi la quickstart
Domande frequenti
Pronto per l'integrazione?
Inizi a costruire con horizOn oggi stesso. Tier gratuito incluso.
