Page 1 of 1

Question on deleting slot using PlayMaker

Posted: Sat Apr 26, 2025 2:20 pm
by jkaczmar
I'm working on my delete game functionality now, and I'm not able to get the PM action to erase the file. My test case is fairly simple. I use the PM Save Game function which creates the saveinfo.dat and save_1.dat. When I click the delete button, it doesn't remove save_1.dat (or saveinfo.data but I'm guessing that is as intended).

As you probably remember, it's a pretty simple action, but I added a debug to confirm it's getting the "1" for the save slot and it is.

Any ideas on what the issue might be?

Re: Question on deleting slot using PlayMaker

Posted: Sat Apr 26, 2025 3:15 pm
by Tony Li
Hi,

Are you using the Pixel Crushers Common > Delete Saved Game In Slot action?

Are there any errors or warnings in the Console window?

(I just confirmed that the action works correctly.)

Re: Question on deleting slot using PlayMaker

Posted: Sat Apr 26, 2025 4:34 pm
by jkaczmar
Sorry, dumb mistake on my part. Because I'm working with my start menu scene, it doesn't have all my prefabs in it for a normal scene. It therefore didn't have the various SaveSystem components in the scene so the PM action was running, but not doing anything. Now that I added the correct components, it's working as expected.

Sorry for the distraction on a weekend!

Re: Question on deleting slot using PlayMaker

Posted: Sat Apr 26, 2025 10:10 pm
by Tony Li
No worries! Glad you found the issue!