Question on deleting slot using PlayMaker

Announcements, support questions, and discussion for Save System for Opsive Character Controllers.
Post Reply
jkaczmar
Posts: 24
Joined: Thu Jun 29, 2023 7:15 pm

Question on deleting slot using PlayMaker

Post 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?
User avatar
Tony Li
Posts: 23152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Question on deleting slot using PlayMaker

Post 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.)
jkaczmar
Posts: 24
Joined: Thu Jun 29, 2023 7:15 pm

Re: Question on deleting slot using PlayMaker

Post 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!
User avatar
Tony Li
Posts: 23152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Question on deleting slot using PlayMaker

Post by Tony Li »

No worries! Glad you found the issue!
Post Reply