Setting time dilation causes Timeline length loss [Demo project]

Repro steps:

  1. Press S, it will count up to ~201 (GOOD)
  2. Press S again, it will count up to ~186 now (BAD)
  3. Delete Set Global Time Dilation node from “TimelineBug” BP
  4. Now, it will count up to 201 (correctly) every time you press S.

DEMO PROJECT

In my project I move actors by Lerping their location from a Timeline 0-1 output, and when this bug occurs, it looks like actor starts lerping from like ~1/3 of timeline instead from the beginning. So it always works OK at the first time, but every next timeline ‘lifetime’ is shorter. If I don’t set global time dilation back to 1, the bug don’t occurs.

Hi Slavq,

Thank you for the report. I was able to reproduce the issue and I’ve created JIRA UE-20562. Our developers will be investigating the issue further and we will post back here with updates as we have them.

I noticed if the S-key is double tapped and the timeline is played again before it finishes, the value will again count up to 201. Of course the next key press will break the value again.

I also tested this in 4.9 and I thought it was fixed, but it seems to be working the opposite. It prints up to 186 each time but is S is tapped twice it will print up to 201.

I’m not sure of the cause but I just wanted to let you know the odd behavior I was seeing.

Cheers,

TJ