Game crashing randomly when I get into fights

Today I was playtesting my game and was interacting with an event when a battle was supposed to start. For some reason, though, when the battle was supposed to begin, the game crashed. I reloaded the game and saved, at which point it crashed again. When I opened it back up, my save file I was playing on was deleted. I am using quite a number of scripts which I can provide if necessary. Does anyone know why this happened?
Did it crash without any error message? And the second time it crashed after you saved, or during? I think a list of scripts really might be useful, if not for me, maybe for someone more knowledgeable.
It's pretty hard to tell why this happened. Some questions that could narrow down your debugging would be:

  • Was it an old save or a fresh one? If it was an old save, what scripts did you add after first generating that save file? If there are scripts within the delta that interfere with your save (or with your battle system), that's where you should start looking first.
  • When did you add that battle? Is it a simple event that triggers it, or a more complex flow? Was it working at some point? What scripts did you add after creating that battle?
To answer both of your questions, there was no error message, it just closed. When it crashed after I saved, I had hit the save button, and then it closed. It was a new one and I had not added any while playing on it. It happened on multiple battles, and both of them were very simple events that were just text and then a battle processing event. Here's a list of the scripts I'm using:

  • Ace Core Engine by Yanfly
  • Ace Battle Engine by Yanfly
  • Ace Menu Engine by Yanfly
  • Ace Message System by Yanfly
  • Insane Anti-Lag by TheoAllen
  • Ace Item Menu by Yanfly
  • Adjust Limits by Yanfly
  • Ace Shop Options by Yanfly
  • Menu Cursor by Yanfly
  • Enemy HP Bars by Yanfly
  • System Options by Yanfly
  • Super Simple Animated Title Screen by TheoAllen
  • Ace Skill Menu by Yanfly
  • 8 Dir Move by JV Master
  • Event Chase Player by Yanfly
  • Ace Save Engine by Yanfly
  • Instant Cast by Yanfly
  • Text Sound Effect by Zerbu
  • Party System by Yanfly
  • Combat Log Display by Yanfly
  • Ace Status Menu by Yanfly
  • Skill Restrictions by Yanfly
This is likely due to memory leaks. You need to add in Mithran GOBJ script and a backtracer.
Then play with the console window open and you'll see the problems as they happen plus it will save the errors to two files on your game folder.
error.txt and gobj.txt
If that doesn't work then you have serious problems with your scripts
Are you sure it's due to either of them? It only just started happening last night and I've been playtesting this game for months

EDIT
Okay, I just tried implementing Mithran's script and it won't create a txt file in the directory for some reason. How could I get it to?

EDIT2
Also, how can I get it to send things to the console? For some reason it won't.
You on win10? Sometimes the system gets corrupted that ACE uses and the only fix is to select the button in the lower left hand corner and pick restart. And it has to literally be the restart button, shutdown doesn't cut it.

This is due to how win10 saves the profile for fast startup on shutdown. Sadly that profile gets garbaged over time and needs a full restart every now and then to clear it out.
Okay, I will try that

EDIT
It did not work. The game is still crashing
It doesn't look like you have any custom or paid script so can you zip your scripts.rvdata2 file and pm it to me. I'll put it in a new project and test it.
What scripts did you add recently? I know you provided us with a large list of scripts, but I'm only concerned about the most recent ones.
I haven't added any recently, which is why I'm quite confused. Also, weirdly enough, it's only happened with a couple of events, not all of them.
I figured out the issue! For some reason, I had made one of my BGS in the files have no sound in it, but it was still being used. Oddly enough, it crashed whenever I saved or entered a battle on any maps playing the BGS. But I fixed it, at least.

Original thread: https://forums.rpgmakerweb.com/threads/game-crashing-randomly-when-i-get-into-fights.156639/