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?
Question on deleting slot using PlayMaker
Re: Question on deleting slot using PlayMaker
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.)
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
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!
Sorry for the distraction on a weekend!
Re: Question on deleting slot using PlayMaker
No worries! Glad you found the issue!