Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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:
    180
    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:
    437
    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:
    165
  5. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    437
    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:
    437
    @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:
    170
    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.