Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide for DragonBonesPro 5.6.3 to work in Unity 6 + (With 5.5 export included) #92

Open
Sean-Zeo opened this issue Jan 24, 2025 · 0 comments

Comments

@Sean-Zeo
Copy link

Sean-Zeo commented Jan 24, 2025

Hello everyone, I'm going to leave instructions here on how to get DragonBones to work with Unity 6.
The plugin currently does not create armatures within Unity 6 successfully, so we need to create them in an older version of Unity.

Step 1. Download Unity 2019, create a new project and import the latest DragonBones plugin,
Step 2. Open DragonBonesPro 5.6.3 software and export your DragonBones project as JSON 5.0 (on windows), if you really need 5.5 support, you can achieve this by downloading DragonBonesPro 5.6.3 on MacOS and disable internet access, this will allow exporting to 5.5, Windows is currently bugged.
Step 3. Use the DragonBones Unity plugin to create an Armature of your JSON ske character in Unity 2019.
Step 4. Drag the results into your Unity 6 project asset folder, these will work.

To summarise, you must use an older version of Unity (Unity 2019 works fine) to create the prefabs from DragonBones .json files, you can them bring them over to your Unity 6 project since the creation does not work in the Unity 6 editor.
Windows can not export to 5.5 json due to DragonBones servers being officially down, however you can bypass this via a bug in the MacOS version by turning off internet access and using 5.6.3 to export to 5.5.
DragonBones Unity plugin MUST be in the Assets folder, not in a sub folder of Assets. (Honestly I'm not sure why, but I noticed some bugs occur when within a sub folder).

I hope this helps someone, I spent days trying to figure this out.

@Sean-Zeo Sean-Zeo changed the title Guide for DragonBones to work in Unity 6 + (With 5.5 export included) Guide for DragonBonesPro 5.6.3 to work in Unity 6 + (With 5.5 export included) Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant