How to solve Timeline skip short clip when fps is low

My TimelineAsset have some short clip, such as 0.3s, 0.5s
When fps is low, like 20 - 25, the short clip don’t be play (OnBehaviourPlay, OnBehaviourPause don’t call)

Have someone know the solution ?

What kind of clip are you using ?

One “trick” is to :

  • cache the start and end time of the clip at its creation
  • from your TrackMixer, you can know the current time of the timeline and compare it with the start/end time of your different clips.
    (I can provide some code samples if that solution could work for you)

So if the playable head jumped straight over your clip, you can handle this case as you’d like. However, if you haven’t implemented a TrackMixer, you might be out-of-luck :\

I have custom track, VFX Track and Scritp Track

  1. VFX Track will crreate fx on the scene
  2. Script Track will call some code function

I don’t understand your trick, can you provide the code samples ?
THX

Sorry haven’t had time to extract some samples !

In the meantime, check the second part of this thread (starting from “Otherwise if you want to set a value in advance of it becoming active, it’s a bit trickier, but one formula that works is”…)