UE5.2 AnimModifier not working

Hi guys,
I’m trying to extract root bone rotation in time from an animation, I’m using this AnimModifier :

But the “Get Bone Pose For Frame” nodes are always returning 0 so I ended up with a flat Curve :

But it supposed to generate a curve similar to this one :

So any help will be appreciated.

Thank you.

I found that UE 5.2 deprecated the GetBonePoseForFrame function and it needs to be replaced with the GetAnimPoseAtFrame function. However, after trying, I found that calling the GetAnimPoseAtFrame function after AddCurve will definitely result in a crash… I have not found a solution yet.

Infact in UE5.2 there is a built in modifier to do the job, check this :

Yes, I find that call AddCurve at last would not result in crash.