Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question How to know if the player is already logged in with Unity Player Account?

Discussion in 'Authentication' started by Hat3, Sep 1, 2023.

  1. Hat3

    Hat3

    Joined:
    May 15, 2017
    Posts:
    1
    Hello everybody,

    How to know if the player is already logged in with Unity Player Account?

    In my app i have already a AuthenticationService.Instance.PlayerId linked with a UPA, but i want prevent to click more time to login with UPA, but i don't know how...

    I tried to manage the second StartSignInAsync response with no success.. because i don't know where to fine a matching data between AuthenticationService and PlayerAccountService


    thank you