Online peer-to-peer game: How can i store local data?

Hi, I don’t know if this has been asked before but i’m creating a peer-to-peer quiz game. After login scene players can either choose to host a game or register an existing one.

Once the player chooses to host a game a new level/scene is loaded where his/her login name is shown along with buttons to host a game or return to the previous menu.

The problem is, I use playerprefs to store the playername but Host Scene always shows the name of the user who logged in recently. So my question is how can I store a player’s local data, like his name or country etc and use it in another level?

P.S. The game has only one server and one client, but in register menu there should be a list containing all of the hosted games, which again requires me to somehow store the data of each player locally and send them using RPC functions if necessay.

Many thanks in advance,
Gurel

Well if anyone is facing the same problem, here is how I solved it;

I opened a new FileStream and saved my data to a user profile text such that its path is,

string path = Application.streamingAssetsPath + “usrprof.rtf”;

Then whenever I need this data stored in the text, I read this file and initialize the variables of my new scene with this stored data. For read and write functions I use BinaryReader and BinaryWriter.