MZ Disabling plugins caused an error I can't get rid of

First time poster. I've been using MZ for about a week and a half now, and tested a couple of plugins for fun (MZ3D, ShoraLighting). Both were tested on an existing map, then a test map.

Both proved a little advanced for me right now. I disabled all plugins and returned to using the standard editor. As soon as I did, I got this error.

There are no existing events related to the plugins and I performed no other changes. I even deleted both maps to ensure there were no changes I was unaware of.

Any advice please? I've put about 60 hours into a project for my kids and would hate to lose my work.
Yeah if your new to RPG maker MV I'd be careful about using advance plugins.

So when you disabled the plugins, did you load a old save file or started a new game?

Because what happens is some plugins create variables and other data, so when you start a new game with those plugins on then save it. It's saving the data for those plugins. and if you turn the plugins off and reload that save data, the game has memory of those plugins but since their disabled, it's looking for something that doesn't exist.
has nothing to do with plugins, it points to a database error.

more precisely you deleted a class that was still in use by an actor. And now that actor is missing the info about experience points that is usually taken from the class
Yeah if your new to RPG maker MV I'd be careful about using advance plugins.

So when you disabled the plugins, did you load a old save file or started a new game?

Because what happens is some plugins create variables and other data, so when you start a new game with those plugins on then save it. It's saving the data for those plugins. and if you turn the plugins off and reload that save data, the game has memory of those plugins but since their disabled, it's looking for something that doesn't exist.
While I can't remember exactly what I did, it was something like this. I definitely saved it after disabling the plugins. Are there any steps I can take to clear this junk data?

has nothing to do with plugins, it points to a database error.

more precisely you deleted a class that was still in use by an actor. And now that actor is missing the info about experience points that is usually taken from the class
I definitely haven't deleted any classes. They're one of the few in-game database options I haven't messed around with.
I definitely haven't deleted any classes. They're one of the few in-game database options I haven't messed around with.
What exactly have you done with the project so far? That error usually pops up when some database info is missing.
While I can't remember exactly what I did, it was something like this. I definitely saved it after disabling the plugins. Are there any steps I can take to clear this junk data?
not really, unless you go digging into the save data itself but there is some very tec stuff there.

Best just to start a new game.

Is there anything else data base wise that you might have removed?

😮
Maybe the plugin add some new classes that are not part of the database?
Just check every actor to see if their class is not empty.
Maybe the plugin add some new classes that are not part of the database?
Just check every actor to see if their class is not empty.
Thanks, I will, and I appreciate the responses!
I definitely haven't deleted any classes. They're one of the few in-game database options I haven't messed around with.
If that is the case, then re-add the plugins one at a time. If the crash is still happening with the plugins re-installed then it's not related to the plugins.

Secondly, when Martin said:
did you load a old save file or started a new game?
He is talking about play testing and not the project file, just to make sure we have that 100% clear.
Plugins write to the save file when the game loads. Basically, meaning adding or removing plugins will make any old game saves incompatible and likely cause crashes or stability issues.
When you are developing, you really shouldn't be relying on saved games anyways.

Be sure to set up proper debugging tools to help you skip sections.
You can use f9 to open a list of all of your game switches and variables to change their values, you can press and hold alt (or ctrl I think?) to temporarily enable through (or disable collision), and you can always use right-click "set starting position" to set where the player will start when starting a new game to skip sections. You can also always create a debug skill which runs a common event that changes variable values, switches, stats, levels, or whatever else you need to quickly skip through game content. Just make sure to delete it or disable it before you deploy the final game (the other debug functions such as f9 and alt are automatically disabled on deployment)

So, with that said, when you play test the game, 9/10 times you should always be starting a new game. To test if it's a problem with the save, simply select "start new game" when you play test and see if the crash still happens.
also not mentioned, when you get an error, press F8 or F12 and show a
screenshot of the CONSOLE.LOG which we need to track down.

if you use plugin, a plugin of those are useful too as many put the plugins
in the incorrect order.

Actors, Classes with expParam can go from default or through plugin modification
to alter it, so we need more info what you tell us to track down the issue more accurately.

Original thread: https://forums.rpgmakerweb.com/threads/disabling-plugins-caused-an-error-i-cant-get-rid-of.174334/