Unity Player Accounts is entering Open Beta!

Hello everyone!

We are thrilled to announce that Unity Player Accounts is entering Open Beta. Unity Player Accounts is Unity’s comprehensive sign-in solution that supports persistence across platforms and devices. It’s an end-to-end account system that includes a user flow UX, email and password, social sign-in options, data access and deletion flows.

As a developer, you can consider Unity Player Accounts as another identity provider that Authentication supports. Once added to your application, your players will be able to sign in using Unity Player Accounts.

Documentation
Please refer to our documentation for more information.

Demo
Dashboard Configuration

In Game Experience
9095830--1260385--upload_2023-6-21_16-41-11.gif

What’s next?
With Unity Player Accounts covering some cross-platform use cases, we will continue to work on extending UGS cross-platform support with features such as username & password.

6 Likes

Will username and password be able to have a userflow that is entirely in game where I can have my own popup for them to enter?

Yes, username and password will be a white label sign in method. Unlike Unity Player Accounts, you can have your own user flow and branding without leaving your game.

1 Like

Is there a sample project available on github?

1 Like

Do you have an estimate on when this is made available (closed or public beta)?

1 Like

Can’t find access to the sample. There is no “Unity Player Accounts” package

Have you enabled preview packages in Package Manager?

It is named Player Accounts, omit Unity.

How will PII and right to be forgotten be handled for Player Accounts if a player submits a request to have their data deleted? Also, I believe PII data in some cases must be stored within the region the player is located, how will Unity address this?

Are there any plans to also be an “out of the box” provider for Photon Authentication, like Steam is, for example?

Found it! Just had to restart after enabling Pre-Release Packages!

Y

You can see the Unity Compliance details here
https://docs.unity.com/authentication/en-us/manual/get-started-unity-player-accounts#Before_you_publish_your_game

is webgl supported?

https://discussions.unity.com/t/911483/9

1 Like

Thanks for the question! Are you asking if Unity Authentication will support Photon Authentication as an identity provider?
Unity Authentication supports a few providers including Steam, Google, Apple and others. Please refer to this doc for more details.

Your official webpage and documentation are missing some key details:

  • Does your system support email verification?

  • Can players change their email address after account creation?

  • Do you have a password recovery process (e.g. email the player a link to recover their password)?

1 Like

Thank you for your feedback, @OneManEscapePlan ! We will update our documentation and official webpage.

  • Does your system support email verification?

  • Yes, when players use email and password to create an account, they will receive an email with a five characters code and the player enters the code to complete their sign up process.

  • Can players change their email address after account creation?

  • This is not supported today.

  • Do you have a password recovery process?

  • Yes. If players forget their password, they can click on “Forgot password?” from the sign-in page. They will then receive an email containing a link to reset their password.

Thanks again for your feedback, please let us know if you have additional questions or feedback!

1 Like

I’m getting the following when adding the package in Unity 2022.3.5f1:

Library\PackageCache\com.unity.services.playeraccounts@1.0.0-pre.2\Runtime\PlayerAccountServiceInternal.cs(158,24): error CS0103: The name 'HttpUtility' does not exist in the current context

(Actually 7 of these for various lines in the code)
I have Authentication and Cloud Save installed. Is there another package I may be missing?

  • Update: Turns out you need to set the API Compatability level in Project Settings | Player to .NET Standard 2.1 (Mine was set to .NET Framework. Found that in another post on the Authentication forums… Might be good to put that in the description or prominently in the docs for users to see when they install the package.
1 Like

I went ahead with the implementation as per the documentation, but when I run PlayerAccountService.Instance.StartSignInAsync();, the URL field in the browser says "Unity Player Sign-In error=invalid_request&error_description=The+request+is+missing+a+required+parameter+or+is+using+an+unsupported+parameter. . I have followed the documentation and implemented in order, but how do I resolve this?