Cannot read property 'height' or undefined.

Hello fellow RPGMakers.


I'm currently working on a new project and everything was fine until this morning, when i tried to fight an enemy.


Before even the fight start, i'm getting the following error " Cannot read property 'height' or undefined. ".


The only plugin i had installed was Death Common Event by Chronosv2, but i didn't use it at all.


I tried to disable it & uninstall it but it didn't help.


I abandoned my last project because of an error, but i've really put some work into this and i want to make it work.


I'll appreciate any help. 
 


Thanks in advance.

4343.PNG
Have you started a new game after installing the plugin? in most cases, a new plugin invalidates all saves done before, and loading a saved game will result in similiar errors sooner or later.


It's either that or you made a mistake configuring the plugin/one of your enemies
You were right, it seems like there is a problem with the enemy configuration. This error appears only on the ones i've made, i don't get this error when i'm using, for example, slimes (default).


I've tried to copy the Slimes to a new enemy box and change only the name&graphics and the error appears again.


This happens in both side and front-view battles.


P.S. I always start a new game after installing a new plugin.
Then attach the graphic and a screenshot of the enemy tab in the database, and we can help searching for the problem
I was changing graphics/enemies and testing to see if there was a problem with specific images, and suddenly the problem stopped. I think that it got fixed when i removed one of two troops (I can now use multiple troops without any error). Everything works fine now.

Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-property-height-or-undefined.56364/