Timeline Not Reaching End Value
Hello all, so I updated to 4.21.1 yesterday and noticed my Event Graph wasn't working properly. Doing some quick troubleshooting I found that my looping Timeline was not actually reaching the desired number.
Here's what I mean: I have a timeline of length 1 with two keys set at (0,0) and (1,1). As it loops it should hit 1.0 and then begin the next loop; however it only reaches .99 before it resets.
In 4.19 (and maybe 4.20, never used that version) there was a bug in which the a looping Timeline would return 3 values every tick if it was set to 1 second. This made things difficult because if you wanted to add a value everytime the timeline reached 1, it would instead add that value 3 times. Luckily in 4.21.1 they fixed this bug.
"Bug Fix: TimelineComponent Update delegate will no longer execute three times when looping."
However this broke timelines completely because now, as stated, the timeline never reaches the end before it starts over. I've tried increasing the time to 1.01 but this results in the timeline skipping the end number randomly, and increasing it to 1.02 will sometimes skip it, sometimes hit it, and sometimes hit it twice. Very odd. I've also tried the opposite approach in setting my final key to return a value of 1.0 at .99 seconds, but that sometimes skips it too.
Any ideas how to work around this?
asked Dec 06 '18 at 04:04 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here