PlayerPrefs Deleted when Updating Game (Windows Phone)

I have an issue with PlayerPrefs in Windows Phone,

Expected result:

  1. PlayerPref is always saved even if the games is updated

How to replicate issue:

  1. Deploy the game to Windows Phone (non development build)
  2. Play until you reach playerpref modifying logic
  3. Update the game by redeploying it from Visual Studio
  4. Saved playerpref is gone

I don’t know whether this behavior is expected. If it is expected, what is the workaround to persist highscore in a game without needing internet connection?


Did you try to send your xap file on the Windows Store as BETA and download your game from the Windows Store ?

I will try this afternoon for you to see if it’s different.