Basic Initialization
PROJECT_CODE is the unique code for your Console project. Initialization fails if the code is missing, wrong, or unavailable.
Recommended Unity Bootstrap
HyperXEnvironment.Production only.
Initialization Errors
Initialization errors are thrown asHyperXInitializationException.
API errors after initialization are handled as
HyperXServerException. See Error Handling.
Create a Player Session After Init
For gameplay code that calls authenticated APIs often, prefer thePlayerSession flow.
Core.Users.StartGuest, Core.Users.LoginCustom, and Core.Users.LoginSocial APIs remain supported. PlayerSession removes repeated access-token plumbing and gives you one place to refresh tokens with RefreshIfNeeded.