Tried opening my project the next day, it doesnt work anymore...

Help??


             I've been having this kind of problem for two straight days now. Whenever I open my projects, it will say that actor.json is not recognized or doesnt work. Now I cant seem to replicate what i did yesterday to make it work again...


  What i tried doing this time was; (because I think that's what ive done yesterday)


                                       1st, copied the data and js folder to another project, and the project finally opens with my maps, events, and plugins but when i try to play test it, a type error shows up. and I dont know why my console doesnt show up.


                                       2nd, I also copied the index file, what happens now when i play test is that the screen just stays white...


I cant seem to get around my problem because I dont know how to make the console work. and I dont think I can interpret myself even if it shows.


View attachment 50398
What you need to do is copy the named file from a new project into your current project.  This could result in some data being lost if you had created your own actors (or whatever the file is).


To get the console, hit F8.  That should let you know if there are any errors.  The other thing I'd do is disable all plugins.


Are you using the Steam version of MV?  There have been a couple of updates in the last few days, and this could have something to do with it (though maybe not, because you'd have to manually update the scripts in a project you'd created earlier - only the editor is updated by default).  Still, it would be good to know.
Hi Shaz,


               Thanks for giving the idea of creating a new project and copying. But what I did was only copy the index file to my project folder and now it works fine.


Any idea though why it worked like this? I dont have any clue. I dont even understand what the index is for.


Also about why this problem occured in the first place, it happened for two straight days now. it happened when i opened the project the next day after working the prior night  with no problems...
this happens when files get damaged by windows, and that has usually one of two causes:


1) crash or incomplete shutdown while the file was still open


2) background program like antivirus or parental protection or folder access control preventing the editor from saving the file correctly


Basically, when a file is saved, the data gets saved to the HDD cache first - because the HDD needs time to store it physically. If the power goes off before the HDD had that time, all remaining data in the cache is lost. That is what the shutdown is about - windows closing all open files and waiting until the files have been magnetically saved on the harddrive.


And if that time is not given for whatever reason, files get partially damaged.

Original thread: https://forums.rpgmakerweb.com/threads/tried-opening-my-project-the-next-day-it-doesnt-work-anymore.69983/