I want users to be able to erase their save file in the menu so that they can play again once they've beaten it. When I playtest this in the editor, the file is deleted as expected. However, when I build the game and run it on my device (Pixel 3), the save file does not get deleted.
Here's the line of code I'm using:
Code: Select all
ES3.DeleteFile(ES3Settings.defaultSettings.path);
Thanks
EDIT: The Android OS is restoring the file as soon as it gets deleted. I will look through Google's docs to find a solution