Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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