Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by AshwaniKumar · Aug 16, 2013 at 12:08 PM · iosplayerprefs

Are PlayerPrefs deleted on Uninstall?

Hello All:

I have saved some values in PlayerPrefs. But the values are persisting even after I uninstall and reinstall the application from previous install.

Are PlayerPrefs deleted on Uninstall?

Thanks, Ashwani

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Connor2164 · Dec 08, 2014 at 05:26 AM 0
Share

Will the playerprefs be reset on update for iOS?

3 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by aemason · Sep 24, 2013 at 02:12 AM

Yes! I have an Android app out on the Google Play Store, I use a player pref to check if the tutorial has been completed. On update this player pref stays saved. However if I uninstall the app and reinstall it via the Google Play Store all of my player prefs get deleted.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by mubashar437 · Dec 08, 2014 at 08:21 AM

Yes. PlayerPref get deleted when u uninstall. However, for android,they are not deleted if ur apk replaces old one and placed it self-in. (i am using 4.1.2)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image moghes · Apr 19, 2017 at 07:19 PM 0
Share

@mubashar437 same here with Unity 5.5

I also have different na$$anonymous$$g for apk, and still Prefs remain!

What might be the solution?

avatar image Wilks83 · Aug 24, 2020 at 10:06 AM 0
Share

Thanks! On Android, uninstalling the app AND deleting the .apk install file before copying on the new .apk solved this for me.

avatar image
-1

Answer by Benproductions1 · Aug 19, 2013 at 12:06 AM

Hello,

I have never heard of a uninstaller for Unity applications. In fact I am perfectly sure that there isn't even an "installer".
As proven by your experiment, PlayerPrefs are not deleted from the registary when you delete the files.

On IOS and Android however, they are deleted (IOS automatically, Android might keep the data).
I suggest that if you want to delete them, use the registary editor, or write a script that does it for you :)

Hope this helps,
Benproductiosn1

PS: You do know what your question sounds like right?
I just saw an apply fall. Then I threw it up and it fell again.
So my question is: Do apples fall?
-_-

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to sync the PlayerPrefs from my unity game for iOS to iCloud 0 Answers

Is PlayerPrefs data persisted after app upgrade from ios AppStore? 1 Answer

Error occurring on iOS only? 1 Answer

Access to existing keys in NSUserDefaults? 0 Answers

PlayerPrefs rant getting created 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges