Search Unity

  1. Click here to see what's on sale for the "Best of Super Sale" on the Asset Store
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Timeline does not obey all object activation states at the end

Discussion in 'Timeline' started by chuakc92, Jun 7, 2018.

  1. chuakc92


    Nov 22, 2016
    I've created a Timeline that is supposed to activate a few deactivated gameobjects in the scene and keep them activated after it has ended. Screen Shot 2018-06-07 at 4.09.32 PM.png The Playable Director has a wrap mode of Hold and plays on awake, since I want the timeline to play every time this object is enabled.

    At the end of the timeline, only PS_OpenIdle_5.0 is still active in the scene. PS_results3_7.0 is set to inactive again.

    I tried changing the Post-playback state from Active to Leave As Is and PS_results3_7.0 still gets set to inactive.

    I tried adding more objects, also with their transitions dragged to the very end, but the timeline always picks just ONE gameobject to actually obey it's post-playback state.

    Is this by design? If so, why? Why can't the timeline handle more than one post-playback state?

    This is on Unity 2017.2.1f1.
  2. seant_unity


    Unity Technologies

    Aug 25, 2015
    Change the PlayableDirector wrap mode to none. Hold will hold the timeline on the last frame and keep it 'playing', and the post playback setting will not be applied (since playback is still active). None will stop playing the timeline and apply post-playback states.

    Also, make sure the two clips have EXACTLY the same end frame. If there is a small difference that would explain why one is active and the other isn't. They look different in the image provided, but it's difficult to tell.