Sign In Register

How can we help you today?

Start a new topic

about GameData when DeviceAuth -> GoogleAuth

Hi.

I'm now creating a DeviceAuth -> Google or Facebook Auth.

I know that if doNotLinkToCurrentPlayer = false, switchIfPossible = true, it will be converted.

The problem is that GameData is not copied at all.

I put user items in GameData, but there is no data.

Do I have to make a copy myself? That's the worst.

Could this be a problem for new users to have something done on AuthenticationResponse?

I'm in a hurry. Please answer.

Thank you.


How do you have your gameData linked to a player?
Once a player is established, they have the same player 'userName' and 'playerId' regardless of authentication method.
If the data in GameData uses that userName or playerId as an indexed element, things should just 'work'.

Hi. Thank you for your reply.

Device->FB change the playerid.

I import gamedata into Spark.getPlayer().getPlayerId();

 

And I saw segments not copied into account.

What I'm curious about is, if it works, is the function creating a new account and copying it? Or is the data from the existing account changing?

If it's working properly, please comment. Thank you.

Login to post a comment