Perhaps you are mixing something with the parent you search the child on.
Normally you need recursion for doing hierarchy research.
Without it you can only find the childs of 1 parent, not the child of a child (or only the first child of each child you find which is quite pointless after all)
Without a code that shows your error, I assume that you assign some bogus to your entity on which you search for childs. (or you search for childs on something you loaded through loadmesh instead of loadanimmesh or on a bone etc)
Normally you need recursion for doing hierarchy research.
Without it you can only find the childs of 1 parent, not the child of a child (or only the first child of each child you find which is quite pointless after all)
Without a code that shows your error, I assume that you assign some bogus to your entity on which you search for childs. (or you search for childs on something you loaded through loadmesh instead of loadanimmesh or on a bone etc)