Hello, fellow Adventurers,
My issue with the saving system is that at some point in the game I save it and keep playing, then I do a bunch of stuff and I quit the game without saving. Then when I load the game it loads in the saving point but turns out all that stuff I did after saving is already done. It is like the save system remembers every position and variable even when I didn´t save the game at that moment, and I didn´t use the autosave or anything.
I have been scrolling through the forum but couldn´t find any solution to this. I just need the game to remember the things exactly as they were when I saved the game.
I´m using Unity 6.000.0.58f2 and Adventure Creator 1.85.5
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
More issues.
To avoid the problem above I used a "quit and save feature". When loading the only thing that "appeared" was the sound ambience. I checked the inspector and realised many of the game objects didn´t have a save component added, so I pressed "Auto add save components to game objects" again (I already did that). Turns out that despite this the program doesn´t add the save components to them, just to some of them.
Is there any way to fix this?
I don´t know how to upload a picture to show it to you.
Edit: my scene is added to the Build settings.
When I press continue on the title screen (to load the last save, in this case an autosave) it doesn´t even load the scene where I saved.
It stays on the title screen´s scene, plays the music of the scene where I saved and the camera is completely black.
This is weird and I need the save system to work.
Is this an issue you can recreate each time you play? Is this issue limited to Builds, or does it occur in the Editor as well?
The Console should a log whenever save files are either saved or read - are you having them appear when they aren't expected?
The Save-game File Manager will list what save-game files are present - you can access it from the Settings Manager. Is it listing more files than there ought to be?
Screenshots will certainly help understand the issue if you can share them. If you can upload them to an image-sharing website such as imgur or Google Drive, copy/paste links and I'll see if I can spot what's going on.
Hello, Chris,
Thanks. This is the link to the image
https://drive.proton.me/urls/TJP4XBG04R#DLC9kPMPI71P
Should I add constant ID manually?
The saving issue happens both from the editor and the builds. If I save in point A, move to point B and do stuff there, then exit the game without saving and load the game again it will load in point A with the stuff from point B done. This has always been the case even with released projects and I am surprised no one has said anything about this (actual players do). I guess it is something I am doing wrong.
Is there a way to create fixed save files so that when loaded, the game loads at specific points (like checkpoints)?
Does the Console report save recordings / loadings when it shouldn't?
The Markers missing Constant IDs aren't necessarily an issue. You can add them manually - the "Auto-add" button will attempt to guess what needs doing - but the root issue you're describing sounds separate.
The only related option I can think of is Always reload scene when loading a save file? in the Settings Manager - though this shouldn't impact exiting the game itself. Try checking it to see if this makes a difference.
Otherwise, this issue sounds like it's very much down to the specifics - I'll need steps, or a sample project, to recreate the issue.
Okay, the console says there´s an action list in progress so it can´t save. My mistake (I thought I had killed it before the saving; I will fix this one).
**** Try checking it to see if this makes a difference.****
Ok, when I fix it I will try it and I will let you know.
Is there a way to create fixed save files so that when loaded, the game loads at specific points (like checkpoints)?
Thanks, Chris.
The Save: Save or load Action can be used to save or load a file with a specific Save ID. Save: Check also lets you check if a save exists, so that you can then load a save when the game begins.