PlayerPrefs in web player are not the same

According to the script reference, “There is one preference file per Web player URL and the file size is limited to 1 megabyte.” I understood this to mean that there was one file on the server. I think it should actually say “There is one preference file per Web player URL on each client and the file size is limited to 1 megabyte.” I think I just wasted a whole bunch of time on something I can’t use. The playerprefs are doing exactly what I want them to, but use a different dataset on every machine that accesses the page. That is completely useless for my project.

Is there a way to save playerprefs on the server, so that I can have a usable login and high score system that is the same for all users? If not, how can I accomplish that without learning three new languages to use a real SQL database? I can get things to work in C#, but I don’t know or have time to learn all the SQL, Java, and/or PHP it appears I would need.

Question 1

Is there a way to save playerprefs on the server, so that I can have a usable login and high score system that is the same for all users?

No. You can think of a Unity webplayer game as just being data that is downloaded by each player and instead of being installed and played as a standalone exe runs in the web browser.

Question 2

If not, how can I accomplish that without learning three new languages to use a real SQL database? I can get things to work in C#, but I don’t know or have time to learn all the SQL, Java, and/or PHP it appears I would need.

No matter what route you take you are going to have learn something new to do this. You don’t have to learn SQL, Java, and PHP but you -will- have to learn something.

If you don’t care about a usable login system then you can probably get it done without learning too much more just by searching for high score systems on google. There is even an example here.

A usable login system is -definitely- going to take real database / web development skills though, especially if you want any sort of security. As its a very complicated subject to make a good login system you might seek help at a more generic resource like stack exchange where some web development specialists might be found.

If you want something simple to store your data you should check out Player io

No system admin skills required, I believe you don’t even know sql to get data from the database.

Take a look on Parse.com