I'm trying to save everything whilst running my program. I want to save every Gameobject with their scripts and variables. I know that it's possible to serialize everything and save it to an XML (and other ways/formats like JSON). This would require alot of work and time. The program may change alot in the future so the upkeep of maintaining this approach would be very time consuming. so I would prefer to use a different approach.
In unity it's possible to save and load a scene and I was hoping if someone knows something similair. I know it's possible to save Scenes during runtime like this article: https://docs.unity3d.com/550/Documentation/ScriptReference/EditorApplication.SaveScene.html
However, and I might be wrong here, you still need to load variables from a file or something, so making this approach useless for me as well.
Hopefully someone direct me in a direction which is not very time consuming to implement.
Any help is appreciated!