Get started

Install the SDK

To install the latest Authentication package for Unity, follow these steps:

  1. In the Unity Editor, open the Window > Package Manager.
  2. In the Package Manager, select the Unity Registry list view.
  3. Search for Authentication or locate it in the package list.
  4. Select the package, then select Install.
  5. Search for Player Accounts or locate it in the package list. The package name is com.unity.services.playeraccounts.
  6. Add the package:
  • For Unity Editor version 2021 or later, select Add package by name..., paste com.unity.services.playeraccounts, then select Add.
  • For Unity Editor version 2020.3 or later, select Add package from git URL, paste com.unity.services.playeraccounts, then select Add.

For more information, see the Package Manager documentation.

Set up Unity Player Accounts

You can set up Unity Player Accounts directly in the Dashboard.

Before using Unity Player Accounts, make sure you have the following:

NameDescription
Terms of Service linkYour application’s Terms of Service, which shows a link in the consent step of the sign-in process (first time login) for your application. Note: This link is optional for the initial setup, but you need to provide a Terms of Service link before you go live.
Privacy Policy linkYour application’s Privacy Policy, which presents a link in the consent step of the sign-in process (first time login) for your application. Note: This link is optional for the initial setup, but you need to provide a Privacy Policy link before you go live.
OAuth Client NameThe name of the OAuth client. It’s shown to the user during the consent step, so it should be a recognizable name, such as the integrating application’s name.
PlatformsYour supported platforms. Currently, Unity Player Accounts supports iOS/Android and PC.

Before you publish your game

Review Unity’s compliance and branding guidelines:

  • Unity compliance guidelines:
    • You must provide a way for players to request data deletion and disclosure requests for your application and their Unity Player Account.
    • Include a link to the Unity Player Accounts account deletion page.
    • Include a link to the Unity Player Accounts privacy support email for data disclosure or other privacy requests.
    • You must ensure compliance with Unity Terms of Service at all times.
    • You will at all times maintain, display, and abide by a conspicuously placed Privacy Policy that makes appropriate disclosure to end-users, complies with all applicable privacy and data protection laws and regulations, and grants Unity the necessary rights required for the use of the Unity Player Accounts service.

Term of Service and Privacy

Make sure the Terms of Service and Privacy link are provided in the Dashboard.