HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

Identify User for Unity

This section covers how to bind each report to identify the user reporting the problem for your Unity apps.

Instabug helps you better identify the bug reports or feedback you get by associating the user's identity to them.
#User Email and Name

If you already have the user's name and email, you can have it so the email fields are automatically filled. The user will then be identified in all bug reports, crashes, chats, surveys, and feature requests.


Ideally, this API should be called as soon as a user logs into your app.

Instabug.IdentifyUserWithEmail("[email protected]", "John Appleseed");

User Data

You can add additional data about users that would help you better assist them. This API is best used for dumping large amounts of data. Each call to this method overrides the user data to be attached. Maximum size of the string is 1,000 characters.

Instabug.SetUserData ("Sample User Data text!");


When a user logs out, the following API should be called. Calling LogOut will reset the value of the email and name previously set. It will also remove any currently set user chats, and user data.