Description

When disabling/enabling tick at runtime, if (TickInterval == 0) then DeltaTime returns as the length of a frame, but if (TickInterval > 0) DeltaTime returns as the length between when tick was disabled and when it was re-enabled

Regression:
No - same behavior occurs on 4.15.3 (CL 3450819)

Steps to Reproduce
  1. Download and unzip attached project
  2. PIE
  3. Hold "T" for a couple seconds then release to run script from "TickInterval_0"
  4. Hold "Y" for a couple seconds then release to run script from "TickInterval_1"

Result:
DeltaTime returned when Y is released is the time since last time the actor ticked

Expected:
DeltaTime returns time since last frame

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-45524 in the post.

1
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.15.34.16
Target Fix4.17
Fix Commit3478988
Main Commit3510073
CreatedMay 30, 2017
ResolvedJun 7, 2017
UpdatedApr 27, 2018