MZ Type error in Combat

Hey there I'm not sure where to post this so if I'm in the wrong topic I'm sorry.

I was doing some testing for my game and during combat whenever a character action is to take place IE a weapon attack, skill etc The animation for the attack plays but then I get a TypeError Cannot read the property Length of undefined when it ends.

1633972417949.png


When I look in the debug menu I see this for the error

1633972461971.png


Can someone assist with this?
I've migrated the project over from RPG Maker MV after MZ came out and it was working earlier.
Anytime you see something "undefined" in an error, it means your game is trying to use something that doesn't exist. Reading down the list, we see a few things that could be problematic.

One is the involvement of functions with Animation in their name. So my first place would be to look at what skills you're trying to use and make sure the animation they're trying to use is actually defined in your database.

The other thing is I see YEP plugins in there, which are designed for MV and may not be compatible with MZ, especially the BattleEngineCore. I don't know if you're using a wrapper like FOSSIL, but I would not expect those things to function correctly if you're trying to transfer your MV project into MZ.

(aside from your skills, the battle engine has the option to assign unique skill animations to the different skill hit types, you might check that, also)
Yeah, I'm going to look into all these, I was hoping to reuse these without finding new ones X_X.

I'll go through everything and take a look.
Anytime you see something "undefined" in an error, it means your game is trying to use something that doesn't exist. Reading down the list, we see a few things that could be problematic.

One is the involvement of functions with Animation in their name. So my first place would be to look at what skills you're trying to use and make sure the animation they're trying to use is actually defined in your database.

The other thing is I see YEP plugins in there, which are designed for MV and may not be compatible with MZ, especially the BattleEngineCore. I don't know if you're using a wrapper like FOSSIL, but I would not expect those things to function correctly if you're trying to transfer your MV project into MZ.

(aside from your skills, the battle engine has the option to assign unique skill animations to the different skill hit types, you might check that, also)
Yeah, I'm going to look into all these, I was hoping to reuse these without finding new ones X_X.
You can, but it needs to be correctly set up in your database.
You can, but it needs to be correctly set up in your database.
as far as I can tell everything in the database is correct...
You can, but it needs to be correctly set up in your database.
So I Turned off all my plug in's and I still get it...

redid the animations in the data base and I still get it so I think I may have to restart from scratch...

Original thread: https://forums.rpgmakerweb.com/threads/type-error-in-combat.141182/