I can't find Playerpref anywhere. Can someone comment on where it is located for windows? THANKS =]
It works perfectly ! thank you very much.
Also I precise we have just to delete all the lines under the Defaut value. (you'll see the names like score, levels, boosts, etc)
Answer by MonkeyAssassin8
Sep 08, 2010 at 06:14 AM
I asked a friend and he told me how to get to it and it works:
click start, type "regedit" and open it
go into HKEY_CURRENT_USER
then Software, etc as the original one states.
This is the same as the answer Tetrad gave 2 months ago...
what isn't stated is how to find the company name and product name
to find both just go to edit-project settings-player the company name is listed as a folder under Software.
Thank you Monkey was a excellent walk through to the saved prefs
Guys, How do I open this file to see the saved prefs?
Answer by Tetrad
Jul 12, 2010 at 03:52 PM
On Windows standalone players, PlayerPrefs are stored in the registry under HKCU\Software[company name][product name] key, where company and product names are the names set up in Project Settings.
On Web players, PlayerPrefs are stored in binary files under %APPDATA%\Unity\WebPlayerPrefs on Windows.
the HKCU folder is not there. Cant find it anywhere. I went into current user the software in regedit but its nowhere to be found. Its driving me crazy.
by HKCU @tetrad means "HKEY_CURRENT_USER" in regedit
Has this changed for Windows 8.1? Or is it different if running a debug build from Visual Studio instead of installing the game? I am testing a debug build from Visual Studio and deleting this folder had no effect.
Answer by nofair888
Aug 30 at 07:53 AM
Now on Unity 5 it save on: HKEY_CURRENT_USER/Software/AppDataLow/CompanyName/YourAppName.
Answer by Horees
Jul 08, 2015 at 09:05 AM
The same answer with above. But I need your help now. Can you give some tips about how to reset forgotten Windows 8 password. I have found a tool about Windows password reset, it's details on here. But I can't use it correctly. Help me!
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 user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
12 People are following this question.
how can I improve my "character select" script?
PlayerPrefs to save setActive state
Where on iPhone editor are playerprefs stored.
How big is PlayerPrefs?
How can I view a webplayer playerprefs file?