- Home /
Where on iPhone editor are playerprefs stored.
Where are playerprefs stored by unity iPhone editor? Are there still problems with them not being read/written to disk while editor is open?
Answer by Azterix · Apr 18, 2010 at 03:46 PM
The playerprefs file is stored at:
/Users//Library/Preferences/unity.YourCompanyName..plist
The file is not written to until the editor application exits. We have tried to force writes, but the prefs data is managed in memory and only written to file on exit - this is true for the editor as well as the player/app.
Thanks, this is handy to know. I guess its a case of keeping states in memory, loading them on app load and writing them back when the app closes. Is this the same for android?
Note as of Unity 3.4:
http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.Save.html
Your answer
Follow this Question
Related Questions
Is "PlayerPrefs" (Get/Set) slow ? 2 Answers
iphone PlayerPrefs 4 Answers
PlayerPrefs to make unlockable levels 5 Answers
Is there a useful upper limit to the size of ArrayPrefs (PlayerPrefs) data? 1 Answer
Achievements with PlayerPrefs... 2 Answers