Documentation Index
Fetch the complete documentation index at: https://docs.hyperx.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
User Lifecycle is the first flow where a Unity client creates a player, signs in, and reads the current user inside a HyperX project. The shortest first experience is:- Initialize the project with
HyperX.Core.Init. - Register or sign in a guest user with
HyperX.Core.Users.StartGuest. - Read the current user and representative character with
HyperX.Core.Users.Me. - Open the project
Userspage in Console and confirm the created user.
Start a guest user
StartGuest automatically signs in if a user is already registered with the same authentication token. The same code works for the first run and repeat runs.
Confirm in Console
After running the Unity code, open the project in Console and go toUsers.
The user list shows:
- user ID
- authentication ID
- registration type
- country/language
- representative character
- last login time
Update the current user name
Create and switch characters
Log out
StartGuest or LoginGuest to play again.
Notes
- The current SDK prioritizes the
GUESTuser flow. authenticationTokenis the value used to find the same user again. For a first Unity test,SystemInfo.deviceUniqueIdentifieris enough.- Games that manage their own guest token can pass a save-file ID, account-link ID, platform ID, or any project-specific stable value.
- Server errors are thrown as
HyperXServerException, including error code, message, and trace ID.