Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question How do I delete PlayerPrefs saves in a build?

Discussion in 'Scripting' started by Ralsei4545, Apr 2, 2024.

  1. Ralsei4545

    Ralsei4545

    Joined:
    Oct 10, 2023
    Posts:
    16
    How do I delete PlayerPrefs saves in a build?
     
  2. samana1407

    samana1407

    Joined:
    Aug 23, 2015
    Posts:
    266
    PlayerPrefs.DeleteAll() ?
     
  3. Ralsei4545

    Ralsei4545

    Joined:
    Oct 10, 2023
    Posts:
    16
    No, I need to delete the json of saving PlayerPrefs already in the finished game.
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,006