Save deleting themselves

When I, or people playing my game, want to save, the bug occurs.

1- It doesnt save
2- The save slot is emptied, I mean the save that was here before is erased so not only you're unable to save but you also lose your save.

This bug happen sometimes on certain map I did, but not every times. When the save isnt made I can here the "buzzer" SE instead of the usual sound.

My game is an classic Action Live Battle using these plugins:

MOG_Chrono Engine
MOG_ChronoEnemyHP
MOG_ChronoToolHud
MOG_EventSensor
MOG_PickUpThrow
SRD_CameraCore
SRD_SmoothCamera

I am suspecting one of these plugins to be the source of the problem but the bug seems to randomly happen. When it happens I have to change map to be able to save again. The map that are sometimes bugged sometimes works

Anybody has already heard of this? I cannot manage to find a solution

Thanks for your help 🙂
Are you running the game from a USB flash drive?
Or maybe you're using RMMV 1.5.1 and your project is currently in your OneDrive folder?

In that case, the solution would be to copy the project to somewhere else (for example the desktop).
Thanks for your answer!

I checked what you told me, it doesnt seems to be the issue

I did some research in between and I found where the problem comes from:
- In my Game a lot of enemy attack with arrow laser etc.. And the game doesnt want to save when an event occurs, like an arrow for example

Do you see any solution?
Sorry, unfortunately I don't know any solution.
If you say you can't save during an event, then it really might be because of your plugin.
My project can still save despite having events.

What you can try to determine which plugin breaks your saves:
Deactivate one plugin, test to see if saving works, if it still doesn't, reactivate plugin and deactivate the next, then repeat.
If you get the buzzer sound, that means the save can't be done because there's something wrong. If the save can't be done, the default action is to delete the save file.

Is it always on a particular map, or one of several maps? Any chance you have an event set to parallel process that's showing some kind of image like a balloon repeatedly? That will prevent saving. There are a few threads here with the issue.
When this occurs, press F8 to open the console and take a screenshot of any errors. The program will attempt to log save errors to the console, so there might be something here.
Thanks for your replies guys, I'll check what you tell me

For now the solution I found is to make the player Teleport in another room to save, which cause every event to end, and which can be a solution for anybody meeting the same problem even so it isnt the best in many cases

I read the thread about balloon too, I do not seems to have parallel event, yet, I keep investigating!


Here is a screenshot of the console about the bug:

EDIT:

Here is a screenshot of the console after the bug:
1520074453-savebug.png
Oh that's very interesting, these types of errors are usually complicated, so there might not be a simple answer.

"Save data too big!" is just a warning, but it could be important. It means that the number of characters in the save data is more than 200,000 characters (for reference, saving from a brand new project is near 16,000 characters). Usually this would never reach 200,000 unless there are plugins which are adding a large amount of information to the save.

If you don't mind, it would be good to see 2 more things.

  1. Navigate to your project folder, and into the "js" folder. Open the file "rpg_core.js" in a text editor, let us know what the version number is (rpg_core.js v1.X.X)
  2. Open the console after the error just like you already did. Just below the words "Object too deep" is a line with "stack" and "(...)". Please click the "(...)" and take a screenshot of what that expands into. You might have to expand a few times to show more information.
If you go to save your game and you get an "error" sound effect, a majority of the time this is because the game asked windows/mac for permission to create a new file, and windows/mac denied the request due to security permissions. Higher security systems require games to create files in the USER directory for safety, instead of in the local directory.

Try this plugin, it's just install and enable, nothing to configure.
https://goo.gl/M21HPY - just click the "download" button at the top.
The plugin changes where save files are made to the user's app or local directory where a majority of games and programs usually install their custom data to. If this doesn't solve your problem, it sounds like a much bigger issue.

Original thread: https://forums.rpgmakerweb.com/threads/save-deleting-themselves.91978/