Get Animation Blueprint from MetaHuman

Hi there,

I have a metahuman and the animation mode is based on use animation blueprint.

How do I get the animation blueprint given the character? Get anim instance from mesh returns nothing. I can get the animation instance class but don’t know how to get the blueprint from that.

Thanks in advance!

You can get the anim instance and plug it into the Object pin of a Cast To node :blush:

1 Like

Thanks for your response. I have already tried that but tried it again to make sure there were no errors. You can see the attached blueprint here.

Can you read the display name of the anim instance? Is it the same with what you’re trying to cast to?

Yes it is. Checked and confirmed again.

Aside from the cast failing, do you also get access errors with that? If so, I suspect you might be trying to cast to a character that doesn’t even exist yet. Could you clarify if the character’s spawned in the first place? What’s inside your function named “Get Techie Character”?

The Techie character is fine, I checked the pointer in C++ and it was ok.

But does it exist in your level when you’re trying to cast to it? If that’s the case, you should be getting access errors.

Yup, exists there as well. Checked again and verified.