I launched RMMV and my project gave the error, "Unable to read Actors.json." It was working perfectly fine last night. I checked the .JSON files in the data folder with Notepad and they were all blank. I know I'm going to go back to a previous version (Which also includes updating the project to 1.5.0 again), but does anyone have any idea why this happens? I believe this has happened to me before (Not sure since I didn't check the .JSON files the first time it happened) and I want to know if there's a way to prevent it from happening again.
.JSON Files Suddenly Blank
RPG Maker MV SupportDid you overwrite the files by chance?
That usually means your file got corrupted. This can happen if you shut down windows too quickly after saving a project (which means it didn't truly save), or if part of your HD is going bad.
To prevent this, you need to make backups of your project.
To prevent this, you need to make backups of your project.
It was probably turning my computer off too soon.
Note to self: Wait a while after saving before turning the computer off.
Yes. Always wait to turn off the computer. All save operations are delayed in the system (that's how modern OS's handle them, else programs would appear to lock up for minutes every time you hit save), so you need to wait a few minutes before turning off the system.
That is basically why the computer has a shutdown process - if your windows is undamaged, it will wait itself until everything is correctly saved before it automatically cuts the power. If you manually cut the power instead of allowing the shutdown sequence to complete (or if the computer crashes or resets) then there is always a good chance that the files that were saved last will be damaged.
If this happens with a regular shutdown, then either something is damaged on your windows files (preventing them from correctly checking if the HDD cache is empty), or the HDD itself has a problem (too slow or beginning to fail or a few other options)
Original thread: https://forums.rpgmakerweb.com/threads/json-files-suddenly-blank.80086/