Distance Curve Modifier generate flat line even in example Lyra start project in UE 5.6

I recently follow an advanced locomotion tutorial and generate the distance curve by using Distance Curve Modifier for the root animation. Here is what I have reproduced in Lyra Starter Project as well:

  1. Download the Lyra starter project from fab.
  2. Find the “MM_Rifle_Jog_Stop” animation and duplicate it to another folder to do the test.
  3. Open the duplicated animation and delete the Distance curve under the “Curves”.
  4. Re-apply the “Distance Curve Modifier” in animation modifiers window.
    Actual result: The curve is a flat straight line.

Expected result: Regenerated distance curve should be as same as the original one in Lyra starter project.

I don’t know which steps or settings i’m missing or it is a possible bug.

5 Likes

I’m having the exact same problem with the same animations. Unfortunately so far I have not found a fix.

1 Like

Same problem with different animations.

same here

I’m having this problem too.

Current workaround solution is generate the animation curves in UE5.5 and migrate the animations to the UE5.6 project. I think it may be a bug from the Animation Modifier Library.

2 Likes

so I’ve tried it with 5.5 and that has the same issue as 5.6, but making the curves in the lyra starter project in 5.5 works fine. So there is something in the lyra start project that is causing the curves to work, hrmm.

The same bug. I have reported to epic

1 Like

It may take a while before an official fix is available. I’ve resolved this issue already. ​Just copy the two C++ files from my repository to your project and compile them. Using EastingDistanceCurve will generate the Distance curve properly.​

3 Likes

Nice work bro!

(post deleted by author)

Thank you! Worked like a charm.