MV Crashes sometimes when I save.

So about 1 in every 5 times when I click the "save" button RPG Maker MV will crash with "RPG Maker MV has stopped working". I have no choice at that point but to close the application.


It seems to happen at random. Sometimes it's after mapping, sometimes after events, sometimes after I've done database stuff. No idea what's causing it.


Sadly, most of the time when this happens, the game does not save and so I have to do my work over again. This is drastically slowing down my progress.


I haven't found anything about others having issues with crashes during the saving process, so I'm asking here.
What folder have you created your project in?  Sounds like it might be a permissions thing, or maybe running out of space?
I have it in a special folder, Game Data, for all my games on my secondary drive (Primary is a 256G SS drive, so not much room for games there). Still have about 1400 gigs of free space, so that's not the issue. My Game Data folder was set to "Read Only", so I turned that off and applied it to all Sub-Folders. Hadn't thought of that. Hopefully this solves my issue. If I don't have any crashes for a day or two when I save then I'll mark this as answered. If I crash then I'll let you know.


Thanks, Shaz. 🙂


I'll keep you posted.


~Serv
MV Just crashed a few minutes ago when attempting to save. Decided to check the folder and it had the usual "grey box" in the read-only checkbox. Decided to google it and found this:


http://superuser.com/questions/866120/cant-remove-read-only-attribute-from-folder-windows-8-1


The first answer mentions that it doesn't affect the files themselves. I checked a bunch of MV Files in my project and none of them are read-only, so permissions doesn't seem to be the problem from what I can tell.
This problem happens to me too all the time and frankly it is soul crushing. I've lost count of the amount of time's I've lost work .. It's never usually very much because the only way I have found to cope is to save about every three actions I take in the editor. Honestly I don't know how this is acceptable. I understand sometimes some programs can interfere with saving. But then all rpgmaker has to do is error handle that tell me it failed to save and let me back into the editor forcing the editor to shut down seems like complete overkill.

Sometimes this error even causes the .json files to become corrupted. Losing not only my event work but my database work as well. All anyone ever says to me is .. "It's some random program interfering" or "It's essential for MV's functionality" But I can't for the life of me understand how I am supposed to be expected to work this way. If I had known It was going to be like this I would never have bought rpgmaker MV. I either would have developed in VXace. Or I would have chosen something else like GameMaker. I just can't fathom how this hasn't been the absolute number 1 priority to fix.

I'm sorry if this comes off as a rant but when I began my game in MV the problem wasn't nearly as bad. I experienced the occasional crash. But NOTHING like this. It seems that on a good day rpgmaker crashes about 1/10 times I try and save. And always manages to pick the worst possible times to do so. I feel like I have been trapped .. And now to finish my game I must slog through some demented escher maze of crashes. And no one here seems particularly keen to help me. I can't even begin to describe how frustrated and angry this all makes me feel.
The base problem here is that the RPG-Makers need to handle their data files in the same way as a database (for example Filemaker or MS Access) handles files (continually open), not as a regular program (like MS Word) handles them (only opens files for saving).
As a result of that "always open" those files are in more danger when something else tries to access them. Especially if that folder has any special survailance (like cloud-synced folders or continuous mirrors), you're playing russian roulette with your files - you need to remove that special function and keep RM-Projects into regular folders only.

If crashes happen often however, then there is a reason for them on your computer. This reason might be "some random program" because you don't know which program it is, but that does not change the fact that there is a program that is responsible, and you need to identify that program to solve the problem.

As to which program that cause might be - there are a lot of options and we can't really list them all - for example there is a video capture program that automatically crashes Steam-Ace, because by default it is configured to launch itself automatically and activate full screen capture whenever any steam-"game" is started. Of course that is nice if you really are playing a game and want a let's play video of it, but it is a big problem if that program doesn't understand that the program launched is not a game and handles data differently - especially if you don't even know that it tried to make a "let's Play" of your game development...
Been a long time since I logged on (moved to a different country and have been very busy).

@RHachicho I never did figure out why my MV would crash often when saving, but I did discover some things. The more you do in the program since the last time it was restarted the slower it gets and the longer it takes to save even if you save often. If it takes too long to save (and by too long i mean like 2 seconds too long) it'll crash. I started getting into the habit of restarting it every 45 minutes or so when I'm using it regularly. Set a stopwatch on your phone or something as a reminder. My MV almost never crashes as long as I keep that up.
Hope it helps.
I have a question .. was your game files on an SSD?
My primary drive is a Solid State, but MV (Via Steam) is installed on a secondary HDD, as well as all the associated files for my game.

Original thread: https://forums.rpgmakerweb.com/threads/mv-crashes-sometimes-when-i-save.65089/