I seem to be running into quite a few issues with animation/sequence bugs.
IN SUMMARY
I upgraded from 4.23.1 source to 4.26 source.
Iāve never had these problems before.
Is there a new hidden setting somewhere that stops animations and sequences from resetting to their start points once they end?
My LevelSequences are set to āKeepStateā on finished, and havenāt failed me until now.
My UMGās have a simple boolean toggle to say if they should play forward or reverse. Forward animations go from 0f to 1f, but reverse animations go from 1f to 0f then back to 1f again when finished where as previously they went from 1f to 0f without any issues.
TL;DR
The problem is happening with SOME level sequences (with cameras movement) and all UMG animation sequences, where once the animation has finished, it snaps back to from 0. I thought maybe that particular level sequence was broken/corrupt, so I created another one, did a different action, without rotation, this time just moving the camera downward, and this time, it would move maybe half way down, then snap back up to the start position.
For example with my UMG pause menu, I have it animated so it scales itself from 0 to 1 in 0.5 seconds. It works fine when playing the animation forward, but upon reversing the animation (1 back to 0 scale), once the animation finishes, it snaps back to being a scale of 1.
The work-around Iām using for this, isnāt too great either, I have assigned an OnFinished event to set the visibility, but this is less than ideal and sometimes the scale visibly flicks back to 1 before being hidden.
Another animation bug I noticed, again in UMG, not sure about anything else, is that if there are multiple layers inside of the animation, say one for colour changing, and one for transform. If the animation was 1sec long total, but colour changes from 0 to 0.5 and transform changes from 0 to 1, the animation will actually stop at 0.5. If I made that layer end at 0.75, the animation stops at 0.75 etc.
The solution was to drag that layerās end point to 1.0 where the end of the overall animation is.
This happened on my scoring numbers, when players would get a point, the score would enlarge, wiggle, then return back to itās normal size, all while changing colour to represent if they earned points or lost points, but the animation would just get stuck at the peak, where the number was enlarged and kind of at an angle due to the wiggle animation.
I did notice when looking at the UserWidget.cpp file that ābRestoreStateā is a new parameter inside the PlayAnimation function, but true or false, this doesnāt seem to matter.
I understand bRestoreState is used in LevelSequences, and have made sure that the āKeepStateā option is chosen for the camera sequence, but it doesnāt seem to matter.
Is there something new since 4.23 that I am missing that resolves these issues? Or should I do a bug report?