x


I can't find PlayerPrefs on Windows

I can't find Playerpref anywhere. Can someone comment on where it is located for windows? THANKS =]

more ▼

asked Jul 12, 2010 at 03:46 PM

Matt 9 gravatar image

Matt 9
30 7 6 10

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.html

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.

more ▼

answered Jul 12, 2010 at 03:52 PM

Tetrad gravatar image

Tetrad
8.1k 62 62 120

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.

Feb 26 at 07:35 PM cocakoliker

by HKCU @tetrad means "HKEYCURRENTUSER" in regedit

Feb 26 at 07:35 PM perchik

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.

Mar 11 at 11:59 PM Garth Smith
(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Sep 08, 2010 at 06:14 AM

MonkeyAssassin8 gravatar image

MonkeyAssassin8
361 99 74 82

This is the same as the answer Tetrad gave 2 months ago...

Sep 08, 2010 at 08:11 AM Marowi

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.

May 26 at 05:59 AM junkdog8
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x517

asked: Jul 12, 2010 at 03:46 PM

Seen: 12753 times

Last Updated: May 26 at 05:59 AM