question

Santiago Medina Chaverra avatar image
Santiago Medina Chaverra asked

Track game crashes with analytics.

Hello, i know there is an option to send custom events with Playfab and use those for analytics. One the data we would like to capture is game crashes. Is there a way to send a custom event to Playfab when the game crashes? If not which way is the best to capture data when the game crashes? Thanks in advance, every sugestion means a lot.

dataanalyticsPlayStream
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

If you have signed up for our private preview, you will be able to activate the App Center integration. When you link your App Center titles to a PlayFab title, you will be able to see crash data in the diagnostics tab in Game Manager. You can check the blog for more.

If you haven't signed up for the private preview, there should be a way on game engines to send a custom event to PlayFab when the game crashes. However, PlayFab doesn’t provide such API to track the game crash, you can only use PlayFab API to send the event. The way of tracking the game crashes depends on the platform you used to develop the game. You can directly search the exception handling mechanism of the game engine that you used by yourself. Generally, game engines would provide some callback functions to developers to add their exception handling logic. You can send the custom player event in them. Besides, You can check Custom event overview for more about custom events.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.