TickAnimation() on SkeletalMeshComponent not working

Hello. I have an external module which has its own independent tick. I want to use that tick to trigger an animation tick for my skeletal mesh component.

I have the following code which is executed just once, to assign the animation and configure the component:

mesh_component_->EnableExternalTickRateControl(true);
mesh_component_->EnableExternalUpdate(true);
 mesh_component_->SetAnimationMode(EAnimationMode::AnimationSingleNode);
 mesh_component_->SetAnimation(AnimationSequence);

After that, the loop code is:

 mesh_component_->TickAnimation(Delta, false);

But the animation is stuck at the initial pose. Why is that happening? I’d appreciate a lot some help.

Thanks!

Solved it. I was missing a call to the function RefreshBoneTransforms().