MZ Visustella OTB Battle System bug?

Anyone have an odd "object too deep" crash using the OTB Visustella plugin?

Yes, I checked the basic stuff (duplicate plugin names, etc) and I am using the Frontview UI plugin from Visu too, turning that off doesn't stop the error. I disabled the few other third-party plugins I had on there, no dice. I mostly use Visu plugins, so its weird.

error is: Function.JsonEx._encode (rmmz_core.js:6471)
Hits as soon as a combat starts, where I can briefly see the stuff and the battlefield before the error.
JavaScript:
for (const key of Object.keys(value)) {
            value[key] = this._encode(value[key], depth + 1);
        }

These are the lines where the error is happening, this is likely being referred to in an infinite loop, and when that value (depth + 1) repeats too many times and becomes too high, it will throw the "Object too deep" error, from what I understand.

I'm assuming your plugins are ordered correctly, so I'd suggest turning off other VisuStella plugins one by one and see if the error stops happening. You can also check the help sections of their plugins, they will usually state somewhere near the top if they are not compatible with certain battle systems.
It ended up being a specific third-party plugin that added a Enemy HP bar that I liked (Dungeonmind Enemy Gauges) that didn't get along with the OTB plugin for some unknown reason. I replaced it with another one that solved the issue. RPGM can be a very temperamental beast at times.

Original thread: https://forums.rpgmakerweb.com/threads/visustella-otb-battle-system-bug.178018/