blendergltf
blendergltf copied to clipboard
Armatures with no root bone do not export well
Whenever I try to export a mesh with an armature, I get this error message.
Index list assignment out of range. Not sure what it's looking for.
If I delete the armature, it exports fine. I'm sure it's a problem with my armature but I have no idea what. I have another model with a similar setup that also fails to export.
Here is the model I am using. BlairRigged.zip
The Khronos GLTF exporter exports this no problem. I'm hoping to use this one because of the multiple animation export feature.
Any ideas?
Which version are you using? 1.1 release or master? There have been a lot of animation fixes since 1.1.
This bug happens with master. Looking into it.
I fixed the crash, but there are still some other issues that need to be fixed. It looks like armatures without a single root bone have some problems that need to be fixed. I'll try to get multiple root bones fixed up some more this weekend, but for now you can try giving all of the bones in the armature a common parent.
@Moguri Yes, I was running it in master.
@Kupoman that's an easy workaround. I'll make sure everything has a root bone. Probably makes sense to do it that way. I'll give the fix a shot sometime tomorrow.
Thanks! I figured it was some little thing.
Bumping the handling of multiple root bones to a future release.