New CurveAnimation never exports KeyframeName

When exporting an animation that was converted to the new CurveAnimation feature, all KeyframeNames are lost in the export. Reimporting the animation shows every KeyframeName has been reset.

Reproduction Steps:

  • Make a simple animation
  • Click the Curve Editor button
    image
  • Click Confirm
  • Rename a KeyframeName to something
  • Export the animation
  • Import the new animation, the KeyframeName is now gone

This is preventing me from playing sounds in my game when a KeyframeName is hit. Animations not using the CurveAnimation work fine.

Expected behavior

KeyframeNames should not be wiped when exporting with the animation set as the CurveAnimation type. CurveAnimation can not be converted back to KeyframeSequence so all KeyframeNames for the animation are unusable.

3 Likes

Hi there, thanks for your report. We’ll look into this immediately!

A workaround would be to use events to play sounds.

3 Likes

Yep, just figured it out. It’s a pain that I have to listen to both events and keyframe names now until it’s fixed. Thanks for looking into it!

Hi there!

This issue has been resolved and the fix is now live. You should see the events being fired properly.

Thanks for your patience,

Parraing

1 Like