I'm trying to export a tree with an armature animation in Blender 2.93 to the glTF format but the animation doesn't seem to work. I'm using the default Sapling Tree Gen settings with Armature > Use Armature and Animation > Armature Animation. However, when I export to glTF and try to view it here https://gltf-viewer.donmccurdy.com/ the animation is missing. There's just a bunch of notes about empty nodes.
I've tried converting the curve to a mesh and re-parenting to the armature but same result. I'm struggling to understand how the animation data is stored and what might be the problem.
Ultimately, I'm just trying to export the tree with the animation to three.js and saw that glTF is the way to go if I can just get the animation working.
Edit: The glTF viewer has a validator that does complain about skinned mesh issues such as the skinned mesh not being the root node and transformations from the parent will be ignored. However, you have to parent the mesh to the armature for the animation to work so I'm not sure how to get around that.
I also created a test animation with some cubes and that seems to work and playback just fine.