- Home /
PlayerPrefs Deleted when Updating Game (Windows Phone)
I have an issue with PlayerPrefs in Windows Phone,
Expected result:
PlayerPref is always saved even if the games is updated
How to replicate issue:
Deploy the game to Windows Phone (non development build)
Play until you reach playerpref modifying logic
Update the game by redeploying it from Visual Studio
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?
It's definitely not expected, submit it as a bug if you're sure you're not calling PlayerPrefs.DeleteAll()
anywhere.
Answer by zugsoft · Jun 16, 2014 at 03:24 PM
Hello,
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220613115512im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
do player preferences get deleted if an iphone app is updated 1 Answer
Updating ui not working in fixed update .But it works in update 1 Answer
Boolean Trouble, Please help....Boolean does not flip another boolean 0 Answers
GUI.TextField problem, won't update var. 0 Answers
Score not updating... 1 Answer