Hello to all!
First of all, I apoligize, if I mismatch the thread.
I’ve discovered a strange behaviour of “GetChildrenComponents”: it shows only ONE child, doesn’t matter how many do I have, when it calls via “AnimNotify” BP.
Let me explain, what I’ve done:
- created two sockets in the character’s skeletal mesh;
- created BP class “Actor”;
- attached a static mesh to this “Actor”;
- attached “Actor” to the each one of the skeletal mesh’s socket.
Now here the magic begins. When I call “GetChildrenComponents” via “ThirdPersonCharacter” BP and try to get all of the attached actors with a “PrintString”, all seems to be fine, it honestly shows me TWO attaches: “AttachedActor_C_0” AND “AttachedActor_C_1”.
But, when I do the same operations via “AnimNotify” BP through the animation sequence, it suddenly shows me ONLY ONE attached actor (“AttachedActor_C_0”).
So, my question: is it a bug, or is it just my crooked hands?
PS: here’s an attached basic project file file, where this bug is reproduced (size - 140 MB).
Thanks!