Debug data

This section gives information about how to check whether data collection and upload are finished correctly and where you can look for if something goes wrong in your implementation.

Get prepared

Before you start, make sure that the following prerequisites are met:

  • TentuPlay Debug Mode is selected in Tentu Play Settings

  • Api Key and Secret Key are entered correctly

  • Auto Upload is selected if you want to use the auto upload option

  • One or more game events (for example, login or join event) are triggered that belong to TPStashEvent in the Unity Editor.

    By simply playing the Demo game, you can cause most of the events to happen.

Debug data collecting and uploading

The Unity editor console and TentuPlay console are where you can check the result of data upload an its details.

View debug message in Unity editor console

The following messages printed in the Unity editor debug console shows whether an upload is successful:

  • TPDebug||Upload successful means that the upload is successful

  • TPError||Upload Error: ERROR_MESSAGE means that the upload is failed

View SDK status in TentuPlay console

When the uploading is successful, you can inspect the last 100 events uploaded in the TentuPlay Console > Project > Project Settings > SDK Status.

image (38)
image (39)