Are you attempting to re-use an existing save file after updating the plugin stuff? As you might suspect, while I go about my refactoring and cleanup, sometimes I may adjust/rename properties which can cause issues with existing saves.
If the issue persists, I can only speculate what the possible issue could be without getting my hands on the problem project. If you can narrow down minimal reproduction steps, I may be able to further assist, though.
Such steps might look like:
Start new game >> add new party member >> change ally AI >> party cycle >> crash
I appreciate your guidance.
I started a new game and played all the way through to where the issue occurs. It's still generating the same error, but with most of the same references:
rmmz_managers.js:2036 TypeError: Cannot read property 'key' of undefined
at JABS_AllyAI.decideAction (J-ABS-AllyAI.js:1139)
at Function.JABS_AiManager.decideAllyAiPhase2Action (J-ABS-AllyAI.js:975)
at Function.JABS_AiManager.decideAiPhase2Action (J-ABS-AllyAI.js:953)
at Function.aiPhase2 (_jabsManagers.js:648)
at Function.executeAi (_jabsManagers.js:343)
at Function.handleBattlerAi (_jabsManagers.js:291)
at Array.forEach (<anonymous>)
at Function.manageAi (_jabsManagers.js:278)
at Function.update (_jabsManagers.js:242)
at Scene_Map.update (_jabsScenes.js:114)
The only reference that changed was rmmz_managers.js, which refers to this code:
SceneManager.catchNormalError = function(e) {
Graphics.printError(e.name, e.message, e);
AudioManager.stopAll();
console.error(e.stack);
};
Specifically the console.error(e.stack); is highlighted.
I will try to package the game up and send you a Google Drive link. It may not be until early next week.
I always happens right after I use an attack. I can take hits without issue. I am going to try a new location with my 2 party members and see if it still happens.
Thank you for all the help,