Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by tobiasbexelius · Aug 06, 2021 at 11:45 AM · Player DatadataFriends

Strange behaviours after deleting all players

We recently deleted all users in a game in development by using the suggestion by Brendan here (Scheduled task with delete user on all users): https://community.playfab.com/comments/41279/view.html

After this, we have started logging in users again to recreate them, but are getting some strange problems.

  • Players page in the backend says "0 total players" even though the newly added players are showing up.
  • Same for the segments page, all segments have 0 users (including all users)
  • We use PlayFabClientAPI.GetPlayFabIDsFromGenericIDs to find what oculus friends have playfab, and that is still returning a list of playfab ids that no longer exists.
  • When we try to add one of those no-longer-existing playfabids as friends (which we apparently shouldn't without checking their existence first), PlayFabClientAPI.AddFriend is returning an "These users are already friends" error
  • PlayFabClientAPI.GetFriendsList is NOT retrieveing those allegedly existing friends though.

Is our database or some cache corrupt? How can we fix it?

Comment
anders-1

People who like this

1 Show 1
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 tobiasbexelius · Aug 06, 2021 at 02:49 PM 0
Share

Another behaviour is that when a user is recreated, it already has the friends it used to have before (with all previous tags), as long as those are recreated. And anyone that used to have a user as friends get it back as soon as its recrerated.

Together with the other issues, it seems the master users arent deleted, but merely the title users. When the title user gets recreated, the old master user properties (such as friends) are brought back.

The friendslist is however filtered on request (and in the backend admin UI) so you dont see all those ghost friends until they are recreated.

I suppose its a feature that old friends are picked up automatically (and shared between titles?).

Still doesnt explain the 0s we get in all lists though...

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by SethDu · Aug 09, 2021 at 09:35 AM

Delete player action in scheduled task is to delete the title player account, which will remain data in master player account. There is still profile data that is stored in master player account.

"0 total players" is fine and there is delay on the display. The player list that returned through GetPlayFabIDsFromGenericIDs can be master player accounts that doesn’t have a title player account in this title. Will you try to call DeleteMasterPlayerAccount to delete them if it is required. Please also note that deletion is a queued task and will take few minutes.

Comment

People who like this

0 Show 0 · 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

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
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    7 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    I can't delete player data 1 Answer

    Snowflake add-on - extremely slow query 2 Answers

    Deleted users from Dashboard causing issues 4 Answers

    Lost players 2 Answers

    NullReferenceException when making a requests regarding user data 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges