Search Unity

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:
    220
    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:
    17
    Simple google search will give you this answer here.
    I would check the places you update the PlayerPrefs, you might override it.