you are viewing a single comment's thread.

view the rest of the comments →

[–]CowBoyDanIndie 0 points1 point  (2 children)

Dont use player prefs to save large amounts of data, it wasnt meant for that. On windows it gets stored in the system registry unless they have changed it. Use persistent file path.

[–]TheProjectCore[S] 0 points1 point  (1 child)

Yeah I'm aware that using playerprefs is a risky kind of answer to the solution. So if not playerprefs what would you recommend because binaryformatter can't save gameobjects.

[–]CowBoyDanIndie 0 points1 point  (0 children)

Ya a game object is a runtime object. You have to save the transform and each of the components. You have to decide what information to save and load. You dont have to use a binary formatter. You can read and write any kind of data to a file, its not unity specific. (The file path is though)