I had this script and it worked perfectly before. I did nothing to change it and it no longer works. It keeps saying that the save file exists when it doesnt. I forced it to create a save file and it did not create one. Does anyone have possible solutions?
Update: I have been debugging and found that it says it is saving successfully, but no save file has been made. Is there possibly a different directory that it could be saving to? I say this because when I try to load the save file, it loads it no issues. However, when I go to Myproject/Saved/SaveGames, it is not there.
There should be a file called CustomUserLevel_Your Custom Level.sav
Update 2: Found out it is saving into my roaming appdata folder? If I am not mistaken, it should not be saving there because it will be erased at some point. Am I correct?
This is correct behavior on a shipping build on Windows. Roaming is the folder for save files, configurations, etc. It is ‘Roaming’ rather than local so your files are available on all nodes of the local network, where ‘Local’ is specific to the machine.
This is not a shipping build though. I am running the game through the editor.
This is causing problems because I had a system that browses for all savegame files, but now since they are not in the project folder, it cannot find the files.
Ok that is odd… and now that i think about it, the saves should be going to Local by default not Roaming.
I wonder if it’s a permission issue. Did you move your project folder recently? If unreal can’t write to the save folder in the project directory it may be defaulting to a known safe save place. Make sure your project folders are writeable.
do this command in your console to turn up the logging verbosity for savegame, may give you some clues:
log LogSaveGame VeryVerbose
Maybe try opening the project and testing the save by double clicking the .uproject file in explorer rather than thru the project launcher in case that’s doing some weird redirection.
It randomly started working again for some reason after doing that command.

