DragonBones / DragonBonesCSharp

DragonBones C# Runtime
MIT License
539 stars 198 forks source link

Unity 5.5.0p3 cannot import skeleton file #15

Open atmuc opened 7 years ago

atmuc commented 7 years ago

I use Dragon bones 4.9.5 and Unity 5.5.0p3. I import armature demo from application's welcome page. I export it with default settings. I create an empty unity projects. i import demo files to this project. demo scenes work. i create an empty scene in this project. i create Dragonbones/armature object. i set DragonBones Data of this armature as Resources/BirdAndCentaur/skeleton. it works. i set DragonBones Data as Dragon_ske (from Armature Demo). it creates all parts as disabled. there is no material on those parts. it looks runtime works for skeleton files with version 2.3 (demo files)

akdcl commented 7 years ago

https://github.com/DragonBones/DragonBonesCSharp/tree/master/Unity Maker sure your project structure like this:

project
    |-- Assets
        |-- Scripts
            |-- DragonBones
                |-- animation
                |-- armature
                |-- ...
                |-- unity
                |-- ...
            |-- 3rdParty Scripts
            |-- Demos Scripts
            |-- ...
        |-- Resources
            |-- DragonBonesData files
            |-- ...
        |-- ...
    |-- ...

Notice the DragonBonesData files path.