Search code examples
c#androidunity-game-engineapk

Unity PlayerPrefs not saving across re-installs on Android


I have a 'Money' PlayerPref, I'll give myself money, make it save, upon reinstalling the android APK, it deletes ALL the playerpref's, including owned objects ETC. please help.


Solution

  • Any data that is saved on an android device is associated to the application. When the application gets uninstalled, so does its data.

    When an application is updated however, the data precists on the device and only the application gets updated.

    To allow data to persist across devices or installs you need to use a remote server to store the data, such as Google's Saved Games Service.