[SOLVED] PlayerPrefs doesn't work on iPhone

hi, i’m developing snake-like action game using unity. finally i’m facing first release and remaining some headaching bugs :frowning:

i used PlayerPrefs for saving user data. it really works well when i tested on my desktop. but ridiculously it does not work on my iPhone! PlayerPrefs.SetInt, SetFloat or SetString look never applied to data storage. what happened to them? anyone can answer me? T-T

Check in Xcode if they are really not written. You can download application prefs from your device in the window where you manage your devices.

thx VIC20. It was totally my fault. SOLVED! XD

If you don’t mind sharing,

How did you get it to work on iphone , i have the playerprefs setup and all, but it doesn’t seam to want to create the keys in the file and retrieve afterward ,

I just forgot attaching a script that saves and loads PlayerPrefs LOL

hehe the most simple way to break it “near unidentifyable” :wink: