MV Frequent crashing on loading game

I disabled the save game plugin I was using, wiped my saves, and started fresh with the default save system. However, the issue persists. When I play the game, i.e. transfer maps, do battle, etc. then save everything seems fine. But regularly upon loading the game then, I receive this error:

Code:
rpg_managers.js:342 TypeError: Cannot read property 'name' of undefined
    at Function.JsonEx._getConstructorName (rpg_core.js:9115)
    at Function.JsonEx._encode (rpg_core.js:9035)
    at Function.JsonEx._encode (rpg_core.js:9046)
    at Function.JsonEx._encode (rpg_core.js:9046)
    at Function.JsonEx._encode (rpg_core.js:9046)
    at Function.JsonEx.stringify (rpg_core.js:8943)
    at Function.DataManager.saveGameWithoutRescue (YEP_ItemCore.js:675)
    at Function.DataManager.saveGame (rpg_managers.js:340)
    at Scene_Save.onSavefileOk (rpg_scenes.js:1707)
    at Window_SavefileList.Window_Selectable.callHandler (rpg_windows.js:902)
DataManager.saveGame @ rpg_managers.js:342
YEP_CoreEngine.js:1098 TypeError: $gameSystem.versionId is not a function
    at Scene_Load.reloadMapIfUpdated (rpg_scenes.js:1784)
    at Scene_Load.onLoadSuccess (rpg_scenes.js:1773)
    at Scene_Load.onSavefileOk (rpg_scenes.js:1764)
    at Window_SavefileList.Window_Selectable.callHandler (rpg_windows.js:902)
    at Window_SavefileList.Window_Selectable.callOkHandler (rpg_windows.js:1171)
    at Window_SavefileList.Window_Selectable.processOk (rpg_windows.js:1156)
    at Window_SavefileList.Window_Selectable.processHandling (rpg_windows.js:1027)
    at Window_SavefileList.Window_Selectable.update (rpg_windows.js:984)
    at rpg_core.js:7035
    at Array.forEach (<anonymous>)

What do you think could be causing this issue? Notably this doesn't happen in a fresh project with no plugins.

Thank you for reading.
can you provide a screenshot of your plugin manager so that the load order and plugin versions can be confirmed?
can you provide a screenshot of your plugin manager so that the load order and plugin versions can be confirmed?
Sure.
dev.png
your yanfly plugins arent in the correct order. it may or may not be the cause of your issue. rearrange them into the order that they appear in on their website
1753346645808.png


Edit: while on the topic, make sure all your plugins are up to date and are necessary. I didnt check the versions of every one of them and what i saw there seems good, but Yanfly's reflect and absorb were combined into the element core and are themselves outdated and unnecessary
your yanfly plugins arent in the correct order. it may or may not be the cause of your issue. rearrange them into the order that they appear in on their website
View attachment 345813

Edit: while on the topic, make sure all your plugins are up to date and are necessary. I didnt check the versions of every one of them and what i saw there seems good, but Yanfly's reflect and absorb were combined into the element core and are themselves outdated and unnecessary
I rearranged the plugins so Yanfly plugins are in the order on the page. I also got rid of reflect and absorb. I will check the versions now, but want to say that the problem is still occuring after a test with the same error message. To be specific, if it helps, the crash happens a lot if loading a save that was saved after a battle. Thank you for your advice btw!

Edit: They're the latest versions as far as I can tell.
Normally the next thing would be disabling groups of plugins and seeing when you get the issue since you already tried getting the problem in a fresh project, but just a quick confirmation before then. When you open up rpg_objects and look near the top for the version number in your main project, what version does it say and if it says 1.6.2, what does line 181 say?
I went looking for old versions of MV's just to realize its only MZ that has them archived.
Normally the next thing would be disabling groups of plugins and seeing when you get the issue since you already tried getting the problem in a fresh project, but just a quick confirmation before then. When you open up rpg_objects and look near the top for the version number in your main project, what version does it say and if it says 1.6.2, what does line 181 say?
I went looking for old versions of MV's just to realize its only MZ that has them archived.

Maybe later today I will spend some time disabling plugins and seeing at which plugin the issue resolves. I looked at rpg_objects and it says 1.6.1 ...Am I outdated?

Line 181:
Game_System.prototype.versionId = function() {
return this._versionId;
};

EDIT: Another thing about the error is that saving is interrupted slightly. If you do battle in the game then go to save, you have to press confirm twice....Weird.
Maybe later today I will spend some time disabling plugins and seeing at which plugin the issue resolves. I looked at rpg_objects and it says 1.6.1 ...Am I outdated?
The current version for MV is 1.6.2, but I am unaware of the differences between the two versions and if it'd present an issue. You said you tried a fresh project, but try disabling all your plugins on your main project first just to completely rule out an error in your current version of the core scripts. You can click the top one, shift + left click the bottom and then right click to disable all of them.

If the problem persists after disabling the plugins, replace all the .js files in the js folder with the ones you have from that fresh project excluding plugins.js

Line 181:
EDIT: Another thing about the error is that saving is interrupted slightly. If you do battle in the game then go to save, you have to press confirm twice....Weird.
The line is what it should be, so I'm leaning towards a plugin error on this one. Although, I'm not sure which one it could be if it's not an order issue and if you're making new saves.
The line is what it should be, so I'm leaning towards a plugin error on this one. Although, I'm not sure which one it could be if it's not an order issue and if you're making new saves.
I found the culprit I think by going through them all! It ended up being the combo count plugin. This experience has taught me why I shouldn't use AI to write plugins because this one was written by AI. I've heard AI written code can be problematic. And I have no idea how it works, and that means I can't tell why something might be wrong.

Anyway, I think I'll take the time to learn to code myself if I want to fix this plugin.

Thank you again!
if you need plugins, either request or commission, as AI made things up.

also, try to categorize the plugins correctly.

I also saw that Game_Map adjustX and adjustY for avoiding event jitter
can be problematic and can cause issue (not by default or normal use).

I have rewritten those 2 function in a better way to avoid it.
you free to take them out of my base and into your own plugin if needed.

if you have the plugin categorized, you also have less issues.

errors by plugins and disabling to see which conflict is one way,
as some people override functions, if this override a function to behave better,
the other need to alias it, or improve the other plugin using this function.

so be careful for those plugins, and read the helpfile (some have which
function is overwritten) others check the code to see if there are function
overridden or aliased, if 1 is overridden and 1 aliased, place the aliased below
the overridden one, so it keeps it functionality.

this can be time consuming, but it can work out =)

Original thread: https://forums.rpgmakerweb.com/threads/frequent-crashing-on-loading-game.179132/