Thanks to click my question.
I'm developing a game on Unity integrated with Google Play Games and Game Center.
Recently, i transferred my app into another developer's account on AppStore.
And it looks like that Social.localUser.id has been differentiated after transferring.
The problem is, i connected Social.localUser.id with account on database.
So when the Social.localUser.id become different, they can't find their own account.
I want to know how Social.localUser.id of Game Center decided.
Do they become different on app transfer?
What should i do to get old Social.localUser.id.
Thanks.
The documentation states that the
idcomes fromteamPlayerId.The documentation for
teamPlayerIdstates:So, the short answer is that if you transfer your app to a different developer team, you should expect to get different identifiers. Unfortunately at this point there is nothing you can do, apart from, perhaps, try transferring it back.
If you had created and persisted your own unique identifier on device and on your server then you could match the new identifier to the old, but now it is too late.