Why does my game keep crashing?

When starting battle processing for an event, I'm greeted with this error:
Screenshot (2).png
What is causing this and how do I fix it? I tried turning off all the plugins I had on and nothing changed at all.
Are you using an old save file?
most likely the troop of that battle has an enemy that is missing a sprite or some data.

the reason for that missing data could be an old save, it could be a deleted database entry or an incompatibility of a plugin.
most likely the troop of that battle has an enemy that is missing a sprite or some data.

the reason for that missing data could be an old save, it could be a deleted database entry or an incompatibility of a plugin.

This was it. I cleared the troop then readded the enemy and now it works fine. Dunno how that happened as I didn't mess with enemy files, but I guess it got messed up somehow lol. Thank you so much!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/why-does-my-game-keep-crashing.130279/