Search Unity

Animation plays too soon

Discussion in 'Timeline' started by ShaunUnity, Feb 13, 2019.

  1. ShaunUnity

    ShaunUnity

    Joined:
    Dec 8, 2017
    Posts:
    28
    I'm new to Timeline and I may not be doing things correctly.

    On Timeline A I have an animation clip that is supposed to play 20 seconds into the timeline.

    I took Timeline A and placed it into a Master Timeline with a control track. I then moved this control track forward several seconds in the Master Timeline.

    The problem is that the animation clip in A is still playing at the 20 second mark in real time. It seems to ignore the control track. Pre-extrapolation settings do nothing.

    It all works properly in preview, but not when I play the game.

    Am I doing something wrong, or is this a bug.
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Hmm.. make sure the playonawake flag is off on the playable director for TimelineA. Or there is a something else (animation controller) that is playing the same animation on the clip. The control track doesn't pre-extrapolate so it won't block other things from playing, like state machines.
     
  3. ShaunUnity

    ShaunUnity

    Joined:
    Dec 8, 2017
    Posts:
    28
    Play on Awake was on, but changing it didn't fix the problem.

    Thanks