Lots of people have problems importing a DragonBones project into Unity and getting it to work. When I first tried to import my animations from DragonBones to Unity I had the same struggles. This is because a poorly written documentation. The brief documentation provided is to be honest nothing but crap. It causes more confusion than being helpful.
DragonBones outputs 3 files when you select DragonBones JSON and Texture atlas as ImageType. If you want to import to unity it's important you have chosen texture atlas and not the other available option "Image" ! The 3 needed files are as following (also shown in the screenshot below)
- xxx_ske.json
- xxx_tex.json
- xxx_tex.png
The key issue which no one tells you is that you need to put the dragonbones json export files (the 3 files above) into the Resources folder of Unity! Otherwise it won't work.
Only recently I found an official dragonbones tutorial to import your project into unity. I wasn't aware until recently that this tutorial even existed and if you are here reading my blogpost I'm sure you also didn't knew of it's existence. So allow me to share the video with you and hopefully it will benefit you.