I'm using Yanfly's Battle Engine Core Plugin and the game keeps randomly giving me this error whenever i get into battle (not always though). Does anyone know how to fix this?
TypeError: Cannot read property 'height' of undefined (YEP_BattleEngineCore.js)
RPG Maker MV SupportI'm using Yanfly's Battle Engine Core Plugin and the game keeps randomly giving me this error whenever i get into battle (not always though). Does anyone know how to fix this?
Of undefined means the game is trying to work with something you've said is there but actually isn't.
Common causes for this would be you have a troop with an enemy in it, but you deleted that enemy from the database.
Or perhaps somehow that enemy isn't assigned a battler sprite.
Try removing the enemies from your troops and putting them back in.
Common causes for this would be you have a troop with an enemy in it, but you deleted that enemy from the database.
Or perhaps somehow that enemy isn't assigned a battler sprite.
Try removing the enemies from your troops and putting them back in.
It seems to have worked for now. Thank you @ATT_Turan!
Original thread: https://forums.rpgmakerweb.com/threads/typeerror-cannot-read-property-height-of-undefined-yep_battleenginecore-js.165723/