2Hours ago I asked about a possibility to save Player prefs to sd card to prevent deleting when updating the app but I almost forgot to ask: Does a mobile Device like Android delete Player Prefs of the app when Updating from the Store or Market?
Easy yes or no Question but I would like to read the Details as well :D
iOS doesn't, I have no experience with Android.
As far as I know, Android won't delete an app's data folder when updating. It might when uninstalling.
Are the PlayerPrefs saved to the Data Folder? The Unity Site doesnt say anything about that
Answer by Maru07
Jul 10, 2012 at 02:18 AM
For everyyone asking the same Question, I can definitly say that Android does not delete Player Prefs when performing an Update on the app. Im using Player prefs and they`re working perfectly fine and I can asure you that they will be kept even when the Game gets uninstalled. Take Care :)
@Maru07 Android does not even delete when uninstalling the app.
I am using different apk name and still old prefs exist! what's the solution to clear them?
Except having a button which calls a function PlayerPrefs.DeleteAll()
Answer by Paulius-Liekis
May 22, 2012 at 07:15 PM
No, as far as I know.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
7 People are following this question.
PlayerPrefs in android
Android - User only update certain file, not the whole .apk
What is freezing my android game? (using Google Play Services)
Checking for updates on android
Google play achievements problem please help