Sate Saving

The game I’m making is going to be very complicated, there will be several things that move and hundreds of separate variables, it would take weeks of work to save it all using PlayerPrefs. Is there an easier way to do saving, like saving the state that the scene is in?

I’m going ahead assuming that your using C#. FIrst off there are some libraries that will do this. See here For myself I’ve never needed the entire scene saved. So what I do is create a class that stores all the data I’m looking to save. Then using the XMLSerializer class for C#, see here XmlSerializer Class (System.Xml.Serialization) | Microsoft Learn, I serialize my class into XML which is just text and save it as a string to one SINGLE playerprefs variable. I can explain further if you need, let me know