I have been stuck for a while because of this. I have merged all the prefabs in Unity and exported all of them in a Single GLTF. Each prefabs have hierarchy in which there are models, animations , nodes etc. Now each prefab have a root in the exported GLTF . Now the problem is that when I load main GLTF using
Scene.LoadAssetContainerAsync and see the animationGroups array, all animations are there. But when I clone root of these individual prefabs using
InstantiateModelsToScene it turned out that entries.animationGroups array only has animationGroups for root and not for animationGroups associated with their children. How can I have access to animationGroups of children of root after cloning? Also, I can’t see those animationGroups in inspector as well.
If there’s no way to do so, Can i trigger animations for whole hierarchy or something? Thanks.