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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Did Unity PlayerPrefs are Deleted While Updating My App in iOS

Discussion in 'Scripting' started by Alexander21, Sep 28, 2019.

  1. Alexander21

    Alexander21

    Joined:
    Dec 14, 2015
    Posts:
    301
    Hi All

    I have an app in ios. It was developed in Unity 2018.3.7f1.Its working fine. I have an playerprefs in my app to identify how many levels are user played in my app. The problem is while updating my app the level started from beginning. Its not started from where the user last played.

    So my question is Did Playerprefs are deleted while updating my App?

    How can i Avoid it?Where i can store playerprefs that it should get deleted while updating my App?

    Thanks in Advance
     
  2. maormenashe

    maormenashe

    Joined:
    Oct 7, 2018
    Posts:
    20
    Simple google search will give you this answer here.
    I would check the places you update the PlayerPrefs, you might override it.