Search Unity

Timeline and low framerate

Discussion in 'Timeline' started by Flag74, Dec 12, 2018.

  1. Flag74

    Flag74

    Joined:
    May 31, 2017
    Posts:
    128
    Does low framerate makes timeline skips very short clip?
    What if you your game rules are based upon it and framerate drop?
    It happened that setting 4x as Time speed it skipped something.
    Can u confirm it?
    thx
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Yes, timeline is sampled each frame, so if there is a low framerate it is sampled less, and if a clip is short it may not be run.
     
  3. Flag74

    Flag74

    Joined:
    May 31, 2017
    Posts:
    128
    Is there any difference with animation clip timeline?
    I mean, if u set an event on a particular frame and framerate drops it could not fire?

    that's a very bad news...time sync events are totaly unreliable under certain conditions
     
    Last edited: Dec 12, 2018
  4. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Animation Clips use extrapolation by default, so even in 'holes' on a track there is a pose.

    2019.1 has signals for exactly this purpose, they trigger when the point in time has been passed.
     
  5. Flag74

    Flag74

    Joined:
    May 31, 2017
    Posts:
    128
    I guess extrapolation doesn't resolve the issue when u have for example 3-4 events adjacent without holes?