MV Dragonbones Integration - Bug

Hi everyone,

I just solved a problem (Thank you Restart ) about install properly the dragonbones plugin of Yanfly, getting the correct files into the lbs directory, changed the index.html according to the instructions and everything should work.

My art director just sent me a battler made with dragonbones.
It has been exported to the 5.0 version (cause the 5.5 doesn't work with RPGMaker MV)
The files are the _ske.json, _tex.json and the tex.png and they've been inserted in the /dragonbones_assets directory
I configured the sprite in the following way by notetags:


<DragonBone Battler: Name>

<DragonBone Settings>

ScaleX: 0.5
ScaleY: 0.5

Ani Wait: Idle

Ani Walk: Idle

Ani Attack: Swinging

Ani Swing: Swinging

Ani Thrust: Swinging

Ani Missile: Magical

Ani Skill: Swinging

Ani Chant: ReadyMagical

Ani Spell: Magical

Ani Item: Idle

Ani Guard: Idle

Ani Evade: Evade

Ani Damage: Damage

Ani Abnormal: Crisis

Ani Sleep: Idle

Ani Dying: Crisis

Ani Dead: Dead

Ani Victory: Idle

Ani Escape: Idle

Replace Sprite

</DragonBone Settings>

Now it happens that when I do start the test battle the game crashes and display the following bug report:

TypeError: Cannot read property `height` of undefined
at Sprite_Enemy.updateFrame (rpg_sprites.js:981:35)
at Sprite_Enemy.Sprite_Battler.updateMain (rpg_sprites.js: 512:14)
at Sprite_Enemy.Sprite_Battler.updateMain (YEP_BattleSelectCursor.js:308:49)
at Sprite_Enemy.Sprite_Battler.update (rpg_sprites.js:493:14)
at Sprite_Enemy.Sprite_Battler.update (YEP_BattleEngineCore.js:2900:38)
at Sprite_Enemy.Sprite_Battler.update (YEP_X_ActSeqPack2.js:1200:39)
at Sprite_Enemy.Sprite_Battler.update (YEP_X_BattleSysCTB.js:2199:38)
at Sprite_Enemy.Sprite_Battler.update (KELYEP_DragonBones.js:1070:48)
at Sprite_Enemy.update (rpg_sprites.js:952.37)
at Sprite_Enemy.update (YEP_BattleEngineCore.js:3223:36)

How can I do to make that battler to work properly?

Thank you in advance for your help.

Original thread: https://forums.rpgmakerweb.com/threads/dragonbones-integration-bug.136787/