RPG Maker MV Editor - Crashes if Save Takes too Long

Hey there, 👋

So, there's an issue that I've been facing for a while now with RPG Maker MV's editor, that I'm curious if anyone has run into themselves, or possibly found a solution for. That is, when saving a project (in the editor, NOT in the game), if it takes too long to save (for me, if the loading circle spins 5 times or more), then the editor crashes. The time the editor takes to save varies somewhat (especially if the editor has been left open for a few hours, or if I'm making a large number of edits in the database itself), and when it decides to take just that slight bit longer, it crashes. I've had to become really diligent with constant saving to try and counteract this, but have still had to redo plenty of work due to this.

The thing it, I've found exactly what's making the editor take forever to save, and that's the amount of entries I have in my database. In a fresh project, it saves pretty much instantly, but if I add my database entries to the same fresh project, the long saving and eventual crashing issue persists.

Of note, it seems that not all database categories contribute equally to this. Tilesets are easily the biggest contributor, followed by animations. In my case, I have 160 tilesets and about 400 animations. By greatly reducing the number of either of those, the save time decreases greatly, and as such the risk of crashing on save goes away. One important thing to note about that, is that the entries have to actually be filled out. Just increasing the max to 1000 doesn't really change the save time by a noticeable amount.

One more note, I've actually tested this in MZ as well. With the exact same project, it saves just barely faster. I haven't used MZ enough to know if it too crashes at the same threshold.

Is there any chance of this getting addressed, or of any known fixes? It's kind of driving me crazy the more it happens, and while the simplest solution would just be to cut stuff from the project, that's kind of the last resort that I'd really hope to avoid if at all possible.

Thank you 🙏
These are just text files, and not that big. Could it be that the place you are saving to is what's causing it to take so long? Are you saving to a local drive or to the web? How much disk space do you have free? How fragmented is it (how long have you had that computer/disk, how much have you saved to it, how much have you deleted off it)?
I'm fairly certain that it isn't the fault of the computer itself, since I've tested this on multiple computers, one of which being a brand new PC, and ended up with the same results.

Regardless, I've been saving to my computers hard drive, which has >100 GB available. I've defragmented the drive to make sure that wasn't causing any issues, to no avail.

Oh, and to give a bit more detail, I'm using the standalone (non-steam) version of MV, updated to the most recent version.
@Vis_Mage
there is a good chance that you're looking in the wrong direction.
The RPG-Makers should not take long to save - not unless something interferes with their saving process. And that is because they do NOT use regular saving procedures, but handle their files like a databasing program (like MS Access or Filemaker for example).

However, databasing file access is incompatible with almost all forms of cloudsync'ing and a few other background file access processes. That is why you'll find quite a number of topics where the project was destroyed due to a bad sync between cloudsave and the editor or similar effects.

So please check WHERE you save your project - there is a good chance that that folder is cloudsynced with the problem you describe, especially because Microsoft is so idiotic and almost forces you to place your data into onedrive (their cloud-variant) without your knowledge.
If that is the case, move your projects elsewhere that is not cloudsync'ed and your problems will no longer happen.
@Andar
Hmm, from what I'm able to tell, I have cloud syncing/onedrive off for my C drive, which is where I'm saving to, and where I have MV installed.

Although just to make certain it is something on my end, if I sent a small demo project with my database in it, could you quick test if you experience the long save times as well?
no, I don't have time for this and it is not needed.
Instead, please post the entire folderpath from drive letter to index.html for your project, and the total size of the project folder. That should give us enough info to continue.
The filepath is C:\RPG\1 Game\Mana Star, and the project folder is 450 MB.

Additionally, the filepath for the blank project with just the database is C:\RPG\1 Game\Test, and the folder is 18 MB.
1 Game\Mana Star
I don't think that has something to do with the current problem, but you should keep in mind that according to networking rules, no spaces are allowed in file- or foldernames. You should replace the two spaces there, because they can cause problems when it comes to deployment.

450 MB is not critical, it should be able to save quickly.

that leaves an interaction with another background program as the most likely cause, but identifying that program might get difficult.
Ah, thanks for the heads up about the networking rules. Changing it didn't fix my issue, but it's good to have in mind.

And hmm, that would make sense. I've already tried on a few separate computers, one of which being a fresh install of Windows 10, but perhaps I'll see if I can find someone else to verify if they experience the same issue with my test project.
Hey there, 👋

So, there's an issue that I've been facing for a while now with RPG Maker MV's editor, that I'm curious if anyone has run into themselves, or possibly found a solution for. That is, when saving a project (in the editor, NOT in the game), if it takes too long to save (for me, if the loading circle spins 5 times or more), then the editor crashes. The time the editor takes to save varies somewhat (especially if the editor has been left open for a few hours, or if I'm making a large number of edits in the database itself), and when it decides to take just that slight bit longer, it crashes. I've had to become really diligent with constant saving to try and counteract this, but have still had to redo plenty of work due to this.

The thing it, I've found exactly what's making the editor take forever to save, and that's the amount of entries I have in my database. In a fresh project, it saves pretty much instantly, but if I add my database entries to the same fresh project, the long saving and eventual crashing issue persists.

Of note, it seems that not all database categories contribute equally to this. Tilesets are easily the biggest contributor, followed by animations. In my case, I have 160 tilesets and about 400 animations. By greatly reducing the number of either of those, the save time decreases greatly, and as such the risk of crashing on save goes away. One important thing to note about that, is that the entries have to actually be filled out. Just increasing the max to 1000 doesn't really change the save time by a noticeable amount.

One more note, I've actually tested this in MZ as well. With the exact same project, it saves just barely faster. I haven't used MZ enough to know if it too crashes at the same threshold.

Is there any chance of this getting addressed, or of any known fixes? It's kind of driving me crazy the more it happens, and while the simplest solution would just be to cut stuff from the project, that's kind of the last resort that I'd really hope to avoid if at all possible.

Thank you 🙏
I've had the same problem, I deleted some audio files that were in m4a format, I think it can help to look if you don't have files in your project that aren't supported.
I've had the same problem, I deleted some audio files that were in m4a format, I think it can help to look if you don't have files in your project that aren't supported.
Ah, thanks for the advice. 🙏

I've found a less-than-ideal solution, that I've been using for the time being. I made a back-up of my animations file, and removed all but the absolute necessary needed to test the game. This cuts the time the editor takes to save in nearly half (and as such, it doesn't reach time-out where it simply closes the program), but does mean I have to re-add the animations file every time I want to do anything involving them. Still, beats constantly loosing progress due to crashes.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-editor-crashes-if-save-takes-too-long.135855/