Hello,
recently I was trying to implement animations using GLTF, C++ and fastgltf to load the model.
I seem to have a peculiar issue with the program: it sometimes works, and sometimes it does not.
A simple cube with 7 bones: works. Model from Mixamo: works. My own model of a tram (and parts of it) for some reason don't.
The Mixamo model has the armature as a parent of the mesh, the cube and the tram's armatures are at the same level as their meshes. All models were created in Blender, all models' animations work in Blender.
I tried to diagnose the issue using RenderDoc, however unsuccessfully. The cout'ted output looks alright. I mostly followed the GLTF reference and spec, as well as example code from Sascha Willems.
https://www.khronos.org/files/gltf20-reference-guide.pdf
https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html
https://github.com/SaschaWillems/Vulkan/blob/master/examples/gltfskinning/README.md
https://github.com/SaschaWillems/Vulkan/blob/master/examples/gltfskinning/gltfskinning.cpp
Is there some issue with parenting armatures/meshes I should be aware about? Is the issue in some part of my code? Any help is appreciated.

