MV Dragonbones Error: cannot read property data of undefined

Sorry to ask for help here, I was working on my game, and I'm using Yanfly's DragonBones plugin!
So I already watched a tutorial on how to install it, and before posting this, I double-checked EVERYTHING before asking for help.
I already did the following.
I added this to the index.html already.
<script type="text/javascript" src="js/libs/dragonbones/dragonBones.js"></script>
<script type="text/javascript" src="js/libs/dragonbones/dragonBonesPixi.js"></script>
I made sure the Dragonbones Assets and source folder is in the file folder.
I made sure the Dragonbones.js and DragonBonespixi.js is also in the JS > LIBS folder path.

I HAD the plugin literally working when I was testing it out, and then when I went to take a break, I reopened the project, and all of a sudden I got an error. Here is the screenshot of the order of my plugins.
Screenshot 2026-03-04 231215.png
Screenshot 2026-03-04 231228.png

Also the error changes depending on where I place the DragonboneIntegration and DragonBones_YEP.
If I place the YEP_DragonBones above the Intergration I get "cannot read property 'Call" of undefined"
Screenshot 2026-03-04 231637.png
If I put the intergration above the YEP_DRAGONBONES I get the "cannot read property data of undefined"

Screenshot 2026-03-04 231846.png

Overall I'm not sure what I did wrong. I had it working then took a break, came back and then got an error. I've been at it for at least an hour. (Also I went back to my previous forums from the Dragonbones help request, but this is a different error)
Any help is appreciated, and thank you for your time <3 (I always feel bad asking for help)
I can't help with the error directly, but I can explain what is happening to you.

The key to your errors is the "of undefined" - and it is important to know that the different errors may refer to different undefined things, they do not need to have the same cause.

Any error "of undefined" means that the engine was given a reference to a data object that does not exist. And your project may contain more than one such reference, which is why I wrote above that the errors may not be from the same cause.

One specific example to look out for: if you assigned a dragonbones animation to one actor or enemy, but then use an actor or enemy that does not yet have such an assignment, then you get an "of undefined" because that other actor or enemy is missing the data needed for the plugin to work.

So your first step should be double checking if all configurations are complete, and you haven't missed assigning data in one of the many actor/enemy objects in the database.

Original thread: https://forums.rpgmakerweb.com/threads/dragonbones-error-cannot-read-property-data-of-undefined.182741/