Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question Any way to preserve PlayerPrefs between builds?

Discussion in 'Web' started by SoftwareGeezers, Aug 5, 2023.

  1. SoftwareGeezers

    SoftwareGeezers

    Joined:
    Jun 22, 2013
    Posts:
    905
    When I build my WebGL game (yay!) player prefs and so progress are reset. I can reload the build and prefs are maintained between runs, but the build resets the data, a fresh IndexedDB I guess. Is there any where to preserve the same DB file/playerprefs from different builds?