Hello,
Recently because of iOS we had to add an anonymous log in feature. So we also included a way to link a Facebook account to the users account to allow them to access their data on multiple devices, coins, etc.
However, we realize that sometimes players may switch devices or want to play on multiple devices and accidentally log in with the anonymous feature and then want to switch to their Facebook account. Currently, the button to link accounts tries to Link their account first. We set ForceLink = false, expecting that we would then get an error that the Account was already linked, to which we could just log in the user.
It seems we are not getting the expected behavior and if the Facebook account already exist, it still is being unlinked and linked to the player's newly created anonymous account, thus resulting in the possibility of losing any progress on the Facebook account.
PlayFabClientAPI.LinkFacebookAccount(new LinkFacebookAccountRequest { AccessToken = AccessToken.CurrentAccessToken.TokenString, ForceLink = false
This is all we're doing for the linking, then we handle the success or fail as needed.
Thank you for any help you can provide.