Dragon Bones problems, (yippie)

While i was trying to use the Dragonbones plugin, i got the Uncaught TypeError: Cannot use 'in' operator to search for 'version' in null error.
I've made sure that I named the assets folder the same as the plugin parameters. So I have no clue what I'm doing wrong.

here's the screenshot of the Devtool. Any advice?

1720587837529.png
Looks like an issue of it cannot find your files. Make sure you have the monster files named the exact same as what you put in the notetag. I would double-check that first.
1720620469694.png

This is the name put on the notetag and the file I'm trying to use, I haven't changed anything yet.
Is there something wrong with it
The very first thing in the error message you posted a picture of is three files in your dragonbones_assets folder that it can't find. Is the folder named correctly?

Your screenshot is super cropped so we can't troubleshoot the file directory.
The very first thing in the error message you posted a picture of is three files in your dragonbones_assets folder that it can't find. Is the folder named correctly?

Your screenshot is super cropped so we can't troubleshoot the file directory.
1720622420449.png

you mean like this?
Alright, apparently, I can't see, cause i forgot the s in the dragon bones folder.
you mean like this?
lol, no, the screenshot where you show us you have the files in the folder - that is super cropped so we can't see the directory of the folder.

1720632410466.png


Alright, apparently, I can't see, cause i forgot the s in the dragon bones folder.
That's what we would have seen for you if you hadn't cropped it in post #3 😛

Glad you got it working!
Alright, now I got the Uncaught TypeError: Cannot read property 'parent' of null error.

I have no clue what this means
View attachment 310879
This is the name put on the notetag and the file I'm trying to use, I haven't changed anything yet.
Is there something wrong with it
This may not make any difference but, when I write the notetags for my dragonbones, I put a space there after the colon. So it would read:

Battler: MB

You can also try using <Dragonbones Battler: MB> which is the syntax I normally use.

These suggestions probably won't matter, but give them a shot.

Note: When it says it can't read property parent of null its still just telling you it's not able to find/read your files. If my "probably won't matter" fixes don't matter, there is another thing you may need to check.

In the Dragonbones software itself, you also need to make sure the name of assets you are building is the same as the file name and monster name within the note tag. I have had the same error as you are getting when this was not setup consistently.

If you're not sure what I mean, check out these pictures:
bones.png

You see the name of the monster in the Property panel and the name on the right in the Scene panel (as well as the file name of course)?. All of this should be the same as the file name and notetag name of the monster. If they are not consistent, you can get errors.


Here's some more pics to help demonstrate:


folder.png

All of these are the exact same as in my dragonbones editor ^.


notetag.png

Again, this ^ is the same as the folder and editor names.

Consistency is key so the dragonbones plugin knows where to locate things. Double check your setup.
This may not make any difference but, when I write the notetags for my dragonbones, I put a space there after the colon. So it would read:

Battler: MB

You can also try using <Dragonbones Battler: MB> which is the syntax I normally use.

These suggestions probably won't matter, but give them a shot.

Note: When it says it can't read property parent of null its still just telling you it's not able to find/read your files. If my "probably won't matter" fixes don't matter, there is another thing you may need to check.

In the Dragonbones software itself, you also need to make sure the name of assets you are building is the same as the file name and monster name within the note tag. I have had the same error as you are getting when this was not setup consistently.

If you're not sure what I mean, check out these pictures:
View attachment 310906
You see the name of the monster in the Property panel and the name on the right in the Scene panel (as well as the file name of course)?. All of this should be the same as the file name and notetag name of the monster. If they are not consistent, you can get errors.


Here's some more pics to help demonstrate:


View attachment 310909
All of these are the exact same as in my dragonbones editor ^.


View attachment 310910
Again, this ^ is the same as the folder and editor names.

Consistency is key so the dragonbones plugin knows where to locate things. Double check your setup.
It worked, Remind me to buy you a beer when I'm 21.
Alright,, last problem, (i hope) whenever my battler does an action they repeat that animation for that animation instead of going back to the idle animation. any idea what is wrong?
It worked, Remind me to buy you a beer when I'm 21.
Haha cheers and happy game making 🙂.

For your other issue, I'd recommend starting a new thread so people with knowledge of that can find your question easier (and so others with the same issue can find the answers you get easier too!). If I'm not misunderstanding, it sounds totally separate from dragonbones, maybe a battle core issue?
Alright,, last problem, (i hope) whenever my battler does an action they repeat that animation for that animation instead of going back to the idle animation. any idea what is wrong?
Hey! I have a similar problem.
Did you happen to solve it?
Hey! I have a similar problem.
Did you happen to solve it?
no sorry but I'm still looking tho
Hey! I have a similar problem.
Did you happen to solve it?
Hey, I found it. Basically, just make sure that the animations in Dragonbones software you don't want to loop over and over have a play time of 1. You'll find it in the animation window.
Hey, I found it. Basically, just make sure that the animations in Dragonbones software you don't want to loop over and over have a play time of 1. You'll find it in the animation window.
thank u)

Original thread: https://forums.rpgmakerweb.com/threads/dragon-bones-problems-yippie.170165/