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, 2016 at 07:53 AM
Now on Unity 5 it save on: HKEY_CURRENT_USER/Software/AppDataLow/CompanyName/YourAppName.
Answer by bperreno
Dec 23, 2016 at 04:33 PM
I just upgraded to Unity 5.5 and the PlayerPref are now located in:
This is most likely only the location when you test your game inside the editor. Have you tried creating a windows build and run it?
You are right, this is the editor's playerprefs. I was actually looking for them when I found this article and didn't realize that the question was about a windows build
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 site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
14 People are following this question.
Where on iPhone editor are playerprefs stored.
How big is PlayerPrefs?
How can I view a webplayer playerprefs file?
How many different scripts do I need to write to create a highscore system?
assigning arrays with for in