Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X



Found in







Issue ID




[iOS] Social API score.userID returns a legacy ID from GameCenter



Steps to reproduce:
1. Open the attached project ("")
2. Build and deploy the Xcode project to a device
3. Press "Auth" button (authorizes the player to GameCenter)
4. Check the value in Xcode console
5. Press "commit scores" button
6. Press "LoadScore" button
7. Check the score.userID value returned from GameCenter

Expected results: score.userID returns the same ID as localUserID
Actual results: score.userID returns a legacy ID

Reproducible with: 2018.4.32f1, 2019.4.22f1, 2020.3.0f1, 2021.1.0b11, 2021.2.0a8

- Possibly related to Case 1176134 (

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a11
    Note: scores submitted before the fix will still return a legacy ID

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.3f1

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.6f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.25f1

Comments (12)

  1. Wriggler

    Jan 18, 2024 12:26

    This is still an issue with Unity 2022.3.16f1.

  2. TeorikDeli

    Jul 25, 2023 07:12

    Still broken on 2021.3.26f1 and I can use Apple's own unityplugins (linker errors, crashes, etc). How on earth no one fixes this properly?

  3. Nickjd331

    Apr 27, 2022 21:09

    This issue is still persisting in 2021.3 LTS.

    All users show as unknown.

  4. hawken

    Dec 30, 2021 11:23

    the issue is present in Unity 2020.3.21f1

    userName returns as "Unknown"

  5. hawken

    Dec 30, 2021 10:18

    the issue is present in Unity 2019.4.31f

  6. GladStudio

    Jul 21, 2021 09:32

    And how do I get names now with Social.Active.LoadUsers? LoadUsers requires the old ID and IScore contains the new one. This is such nonsense.

  7. matt_unity258

    Jun 29, 2021 13:25

    version Version '2020.3.3f1 (76626098c1c4)' works for me so the fix in Fixed in 2020.3.6f1 probably ruined something

  8. matt_unity258

    Jun 29, 2021 10:32

    Im having the same issue on engine version: 2020.3.11f1 (99c7afb366b3)

  9. michaeldobele

    Jun 24, 2021 06:57

    I'm using Unity 2020.3.12f1 and am unable to get the correct ID to pass into Social.Active.LoadUsers

    I tried to fetch scores from a friend leader board with the scope set to this week only and I'm still getting three different IDs and their username is just "Unknown" with friendFlag set to "false".

    When I log out the friends ID at each step of the process they are all different.

    Friend ID returned from Social.localUser.LoadFriends - 162451708288547808
    Friend ID returned from localLeaderboard.LoadScores - 162451708373532384
    Friend ID returned in the profiles from Social.Active.LoadUsers - 162451708425354208

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.