My game make just closed on me and will not open now!?

Rpg Maker MV just suddenly closed without warning, probably because the event I am working on is really big, and now I cannot even open my game anymore. I get this message

Unable to read file Tilesets.json


I make back ups but this really sucks if I have to redo anything. What can I do? I'm really concerned here. 🙁
sounds like a file got corrupted. I'd find the "Tilesets.json" file (I wanna say it'd be under "data", but I'm not 100% on that), and see about replacing that specific file from a backup. Just delete the file from the version that isn't working and replace it with a version from a backup. Assuming you haven't edited your tilesets since you backed it up, everything should work fine from there.
I mean, all I was doing was an event was open and I was adding new messages and content and then this happened. It's freaking me out. I'll update yall when I can if I get it fixed or not.

Edit: It looks like that worked. Should I be concerned about any other future problems? I'm real concerned future problems may arise without explanation. I wasn't even working with tilesets. I had an event page opened....
The error has nothing to do with the event - or any other event.

File corruption can only happen on
1) double acces to a single file
2) hardware problems (like harddrive sector failure)
3) power failure or shutdown without saving

and the first case is usually when you try working on a cloudsaved folder.
so can you give us the full directory path to your project folder?
beginning with the drive letter and not a windows shortcut like my pc?
The error has nothing to do with the event - or any other event.

File corruption can only happen on
1) double acces to a single file
2) hardware problems (like harddrive sector failure)
3) power failure or shutdown without saving

and the first case is usually when you try working on a cloudsaved folder.
so can you give us the full directory path to your project folder?
beginning with the drive letter and not a windows shortcut like my pc?

I don't do cloudsaves so it can't be that.
Edit: Wait, Steam cloud saves? I think I remember something like that. Could that be a problem?

By full directory path, do you mean the address bar when a folder is opened??? Like this?
C:\Users\sprin\Documents\Victoria's Laptop​

Honestly, is it possible the event had so much information that the game maker crashed in on itself? I like to do a lot of conditions and messages and stuff and probably overdid it... But then again, I'm on an old laptop and I don't think it can handle very big files and games and stuff...
Steam doesn't save project files to the cloud, and the file corruption had nothing to do with the event. Unless you're running a laptop so old it struggles to launch windows 10, it should be fine, mv truly is not that beefy of a program. Data corruption can happen from any number of sources, and if your hard drive is pretty old, that's probably why.

Again, nothing to do with the event, that was just an unfortunate coincidence.
Steam doesn't save project files to the cloud, and the file corruption had nothing to do with the event. Unless you're running a laptop so old it struggles to launch windows 10, it should be fine, mv truly is not that beefy of a program. Data corruption can happen from any number of sources, and if your hard drive is pretty old, that's probably why.

Again, nothing to do with the event, that was just an unfortunate coincidence.
Now that I think about it, I had switched out the Hard Disk Drive (HDD) for a new Solid State Drive (SSD) just this January. (Or December 2023)

My original laptop had problems (the bottom cover was bent or something and caused RRRRRRR noises) so I cloned the drive onto a new SSD and placed that into this old laptop that was handed down to me. (Laptop around the same year my old laptop came out)

Hmm...*sigh* I just wanted to go to bed an hour ago but I got so worked up over this. 😅

Edit: REALLY APPRECIATE all the replies tonight. So thank you everyone!!! ♥
yes, that's the folderpath.
I asked for it because sometimes the user doesn't even know that Microsoft tricked them into using cloudstorage (Microsoft's OneDrive is a cloudsave and automatically suggested at setup of modern windows)
But your path shows no indications that you were tricked into Onedrive.

your editor crash is most likely the cause for the corruption, but that editor crash is extremely unlikely to be caused by working on an event. What is the number of lines of the event anyway? Just export it to text and have a text editor count the lines.
I copied all the event page I had onto as text, pasted that onto a notepad and the notepad at the bottom displays this number

Ln 11121, Col 5

😅

This is probably because I actually spent time making events for characters to say more than one thing. (I kinda wanted a Harvest Moon inspired game but have the characters say more than a few sentences) So in example, I made 10 random messages for the times of day, (Morning, Day, Evening and Night), and then add that into what kind of season, so (Spring, Summer, Fall, Winter,) and then based on how much the characters likes the player. (below 250 points, greater than 500 points, greater than 1,000 points)

Needless to say, the event page got long, real fast. And it took hours to do...

Sometimes I have noticed when I try to add more to the page, the Event Editor glitches and hides most of the content and then I can no longer scroll up. But I've never had the program crash on me like this.

On that note, I'm off to bed so I'll reply later if needed. Again, thanks everyone. I really appreciate it.
With that number I can no longer completely rule out the possibility that the crash happened due to working on the event.
It should not because modern computers have more than enough RAM, but all buffers are limited by numbers, and that number goes far beyond anything that might have been tested or expected.
There was some guy some months ago that had a 7000 line long event that caused the RPG Maker engine to crash so yeah, that's probably it

Hmm...come to think of it, you might want to call @ATT_Turan over to help you out with optimizing that 11,000 line event. Seems like the kind of thing he'd be into
In game play, the event works fine...Why can't Rpg Maker MV handle long events? *sighs*

I can tolerate a crash or two now and then so long as the crashing does not brick my game. Should there be any concern with my game being permanently damaged beyond repair if Rpg Maker MV again should crash as it did before?

Honestly, I still worry with the "Unable to read file Tilesets.json," that there are still unseen errors so I wonder if I should keep a backup of the project before that error occured. I mean, does replacing the Tilesets.json file really fix the problem? (I don't want any future surprises...)

I think I'll be fine for now. I'll look into the event and see what I can move around, maybe make some common events to be called on instead, dunno. Thanks again, really appreciate to all who answered.
No, you definitely need to fix that event because it's going to keep crashing the editor. If it were me, I'd move all the lines of dialogue into a plugin or json file and out of the engine. Failing that, I dunno, have a common event checking for conditions, e.g. time of day/season, then call the dialog out of different common events for each condition, just so all the code is at least split up and isn't all in one common event
No, you definitely need to fix that event because it's going to keep crashing the editor. If it were me, I'd move all the lines of dialogue into a plugin or json file and out of the engine. Failing that, I dunno, have a common event checking for conditions, e.g. time of day/season, then call the dialog out of different common events for each condition, just so all the code is at least split up and isn't all in one common event

Okay, I can do that. Is there a known limit to the max number of lines for an event?
The crash threshold is likely dependent on the processing power or memory of your PC and what other processes are running on your PC at the time.

Original thread: https://forums.rpgmakerweb.com/threads/my-game-make-just-closed-on-me-and-will-not-open-now.167695/