Animation Editor crashes when trying to load or import a CurveAnimation that has been relocated (moved to a different location than inside the animation editor at any point)
- Create new place
- Create a rig using the Rig Builder
- Create an animation and give it a keyframe (move one of the joints)
- Convert it to a Curve Animation using the button on the top left of the Animation Editor
- Save the animation
- Close the editor
- Move the CurveAnimation from AnimSaves to a different location (ReplicatedStorage for example)
- Move the CurveAnimation back into AnimSaves model
- Open the animation editor
- Load the animation (It will crash)
You can also try publishing the CurveAnimation object (after moving it) to the website and importing that into a rig.
I’ve attached a place file that has reproduced up to step 8. If you open the animation editor on the rig and hit
Load -> test, studio will crash.
curveeditorcrashtest.rbxl (84.9 KB)
Beta Features: This has been tested with both ALL beta features enabled and ALL beta features disabled
System Info: This is happening on Windows 11.
The animation editor should not crash
There is currently no way for me to recover my animations that I created previously so I can’t edit them.
I believe so but I’m not sure. Publishing is not a necessary step in my repro steps.
Hi there! Thanks for your report, we’ll look into this immediately.
Hi, I’ve taken a look at this issue and fixed it. It will be live soon. Thanks for your report.
Update: We have been able to reproduce the issue and we have a fix. This fix allows us to load your animation as well, so be assured that your work won’t be lost. Unfortunately this will require a new release of Studio.
As a workaround, you can delete the NamedKeyframeEvent instance that you can find directly under AnimSaves/animation name/. This will delete all the named keyframes created in your animation (including the “End” keyframe created by default), but it will allow you to open your animation with the current version of Studio. If your experience requires named keyframes, you will have to add them back manually when the fix is live.
Is this fix live yet? I’ve tried to load a CurveAnimation recently and ran into the bug.
For anyone else running into this, if you don’t want to mess with deleting anything you can use a plugin that converts a curve animation to a keyframe sequence, then turn that back into a curve animation in the Animation Editor