Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feature Request Delete a Player ID from the Cloud via the Unity Dashboard

Discussion in 'Cloud Save' started by Reyality, Jul 31, 2022.

  1. Reyality

    Reyality

    Joined:
    Nov 5, 2016
    Posts:
    1
    Hi all,

    Is there any way to remove a Player ID from the Unity Cloud environment via the Unity Dashboard?

    It would seem there should there be a simple 'delete row' button next to these data fields? As it stands, we can't test our login and authentication scripts properly as these ID's are already created in the database. We now have to manually delete those ID's after logging in via the game to see if the account is created and tracking properly. This would be a lot easier if we could just delete the row via the dashboard.

    Seems like a strange oversight, but maybe I'm missing something here :)
     

    Attached Files:

  2. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    279
    Hi Reyality!
    Welcome and thanks for posting on the forums.

    You should be able to delete Cloud Save Data for a particular player.
    If you click or search for a playerID
    - click on Cloud Save
    - click on the 3 dots a menu option to delete the data will appear

    upload_2022-8-1_17-35-16.png

    Deleting the data would only remove Cloud Save Player Data. The user would still exist as a Player in Analytics.

    Are you creating your own authentication service? If you are using Unity Authentication and authenticating anonymously. You can use the following line of code to generate a new anonymous user

    AuthenticationService.Instance.ClearSessionToken()



    I look forward to hearing from you. Let me know if I misunderstood.
     
    Last edited: Aug 1, 2022
    hkalterkait likes this.
  3. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    448
    I have the same issue. I've created a few anonymous players for testing purposes and would like to delete them since they are cluttering the database.
     
    DavidZobrist likes this.
  4. MiTschMR

    MiTschMR

    Joined:
    Aug 28, 2018
    Posts:
    482
  5. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    448
    Hmm, so I'd have to sign in based on the playerID that I have in the console and then ask for a delete from the API? Thanks for clarifying by the way.
     
  6. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    448
    @SebT_Unity Is there a way to delete accounts at all? I can only seem to delete the accounts that I've created in a session. If I clear the session, I just have extra players that are now orphaned.
     
  7. DavidZobrist

    DavidZobrist

    Joined:
    Sep 3, 2017
    Posts:
    233
    https://forum.unity.com/threads/wipe-database.1235941/

    i suggested something similar, beeing able to just wipe a database (inlcuding users)( before release maybe?).
    Wasnt sure other people will need this too but it sounds like.
    It just doesnt feel nice launching with a database, after weeks of testing with anonym players (which will never be used again).

    It is already really good we can see our players in playermanagement, where before you had to know the specific id.
     
    MousePods, 8bitgoose and MiTschMR like this.
  8. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    808
    You can do this through the dashboard.

    Screenshot 2023-02-22 at 10.11.33 AM.png
     
    SebT_Unity likes this.
  9. MiTschMR

    MiTschMR

    Joined:
    Aug 28, 2018
    Posts:
    482
    Is the feature finally here? Will need to check when I’m back. Would be awesome!
     
    SebT_Unity likes this.
  10. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    279
    Hey there,
    We will post an update on the forums but yes this delete feature was released yesterday afternoon!
     
    MiTschMR and MousePods like this.
  11. chengg_unity

    chengg_unity

    Unity Technologies

    Joined:
    May 15, 2022
    Posts:
    68
    MiTschMR, MousePods and SebT_Unity like this.
  12. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    448
    Huzzzzah, they finally did it!
     
    SebT_Unity and MousePods like this.
  13. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    448
    Thank you so much. This is such an awesome feature added!
     
    SebT_Unity and MousePods like this.
  14. nmckean

    nmckean

    Joined:
    Apr 12, 2020
    Posts:
    23
    How long until we can see and delete CustomId's in the dashboard for GameData? It is incredibly frustrating working blind.
     
  15. devingunity

    devingunity

    Unity Technologies

    Joined:
    May 26, 2021
    Posts:
    33
    Hi nmckean,

    We're working on this feature right now, will hopefully have something available around the end of January/early February!