
Relatórios de crash
Detete, agrupe e resolva crashes antes que destruam a sua classificação nas lojas de apps
Agrupamento inteligente
Crashes com o mesmo fingerprint são agrupados automaticamente para que veja um único problema acionável em vez de milhares de relatórios duplicados.
Rasto de breadcrumbs
Até 50 eventos de breadcrumb antes do crash revelam exatamente o que o jogador estava a fazer, para que possa reproduzir o problema de forma fiável.
Taxa de sessões sem crash
Rastreie a percentagem de sessões que terminam sem crash e observe a melhoria a medida que resolve os problemas.
Integração rápida
Jogo em execução
// 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"
}'Estes exemplos usam o SDK do Unity (C#) e a API REST. Godot e Unreal têm as mesmas chamadas nos seus próprios SDKs: veja o quickstart
Perguntas frequentes
Pronto para integrar?
Comece a construir com o horizOn hoje. Tier gratuito incluído.
