I have been following this saving and loading tutorial using XML, I have spent all day trying to fix an issue I am having. I know that it will be hard to diagnose, but any help would be much appreciated.
The issue I am having is that I can save, then load, but when I save again, my save data is doubled, resulting in duplicates of my objects. I have determined it is not a filemode issue, because when I save multiple times, it does not double multiple times, only once. And I have tried filemode.Open, and filemode.Create, and gotten the same results. I think it is something with the ActorContainer saving objects from the first save that were deleted when loading, but that did not seem to be the issue either, due to issue occurring even if I reloaded the scene each time I saved. I am really at my wits end with this, and honestly I am not expecting to have this answered, I just cannot think of anything else to try.