Features
Games
Add-ons
Docs
Pricing
Forums
Blog
Log in
Sign Up

Features

Games

Add-ons

Docs

Pricing

Support

Blog

Log in

Sign Up

  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by John Peterson · Oct 10, 2018 at 03:34 AM ·

Why doesn't LinkedAccounts return all links?!?

Dear PlayFab community,

I am trying to place multiple CustomIDs on a player, but it turns out that LinkedAccounts doesn't return all instances of the CustomIDs -- only the most recently added.

Further, when trying to delete the CustomID from Game Manager (of which it only shows the most recent instance), it will actually delete the *oldest* instance, leaving the most recent on the display.

The bottom line is, if you intend to do anything with LinkedAccounts where you might have multiple instances of the same type, be aware that it is currently unusable.

I hope that this can be fixed some day.

In the meantime, I'm going to use GameCenter in lieu of CustomID. Please don't make breaking updates to the GameCenter functionality any time soon.

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Oct 10, 2018 at 07:24 AM

To date, there hasn't been a breaking change to any functionality in PlayFab, as we have a high priority commitment to prevent that. So you don't have anything to worry about on that account. However, I'd recommend waiting for our secure GameCenter authentication system, which we'll be rolling out later this quarter. The existing one only uses the GameCenter ID of the user (it was provided by demand back before Apple introduced a secure auth system external services could use).

In answer to your question, both the device ID and Custom ID auth systems were originally designed to only allow for one of each type of ID to be linked. By popular demand, we updated those systems to allow for multiple IDs of each type to be used, but as that was back when we had very few resources available, it was a fairly simplistic implementation in which only the last-used ID is returned in the profile data. That's something we plan to address in an upcoming sprint.

However, I'm not clear on what you're describing with the deletion example. If you use the Unlink option on the Custom ID on the player account in the Game Manager, the one shown (where you click Unlink) is indeed the one removed.

Comment
Justin

People who like this

1 Show 4 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image John Peterson · Oct 10, 2018 at 03:05 PM 0
Share

Thanks for the assurances, Brendan! I'm going to proceed with using the LinkGameCenterAccount to provide an alternate key, just to move forward.

I tested *very* carefully when I had dual CustomIDs on my account. Unfortunately, the CustomID shown in Game Manager was *not* the CustomID that was deleted. Further, I couldn't Unlink the one that was being shown, no matter how many times I clicked Unlink, it would persist in Game Manager.

I *still* can't delete the CustomID from Game Manager for PlayerID 7FCA1F1E8157A6D5 in Title 44B1.

avatar image Brendan ♦♦ John Peterson · Oct 10, 2018 at 04:47 PM 0
Share

Can you clarify what you mean by "deleted"? What specifically are you doing that you're calling deletion? In my testing, removing the Custom ID from the Game Manager (clicking the "unlink" option on the ID shown) removes that specific ID 100% of the time, if it is actually linked. The caveat there is that we've discovered that there are some corner cases where you can unlink the ID from an API call, and the Game Manager will still think it's linked. So the one exception is the case you describe where you click the link and it isn't removed - in that case, the ID actually isn't linked to the account. That's a known issue we'll fix as soon as we can.

avatar image John Peterson Brendan ♦♦ · Oct 10, 2018 at 06:34 PM 0
Share

Yes...I'm removing the CustomID from Game Manager (clicking on the "Unlink" button for the CustomID shown). What happened is that it deleted my *other* CustomID (not the CustomID that was being shown. And the shown CustomID continues to persist. I can click "Unlink" multiple times and the shown CustomID never goes away from Game Manager. I did not use the API to unlink, only Game Manager. I can make a video to show you the "aftermath", if that would be helpful?

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Tickets

    Need help with a confidential issue? We've got your back!

  • Create Ticket
  • View Open Tickets
  • Stay up-to-date with the latest from PlayFab:  
    Sign up for newsletter
    Engineers
    • Documentation
    • Tutorials
    • API Reference
    • SDKs
    • Usage Limits
    PLAYFAB
    • Features
    • Games
    • Add-ons
    • Pricing
    Support
    • Forums
    • Videos
    • File a Ticket
    • Service Health
    • Blog
    About
    • About
    • Jobs
    • Contact
    • Press Room
    • Privacy Policy
    • Terms of Service
    • Acceptable Use
    • Style Guide
     
     
    Sign Up

    ©2017 PlayFab, Inc.

    ©2016 PlayFab, Inc. All rights reserved. PlayFab® is a registered trademark of PlayFab, Inc. | Privacy | Terms | Acceptable Use
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Post an idea
    • Create an article
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges