Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Bug OnBehaviourPause not called after duration end

Discussion in 'Timeline' started by TheHeftyCoder, Jan 21, 2023.

  1. TheHeftyCoder


    Oct 29, 2016
    I've noticed that OnBehaviourPause may sometimes be called only when the timeline is started but not when the clip has finished (time has passed its end). It seems to happen on very small clips, 2-3 frames. If this is frame dependent, then a lag spike might cause issues even if the duration is higher than that.

    Just wanted to point this out because it seems like a big bug

    EDIT: I have noticed this in the Editor (2021.3.16f1). Haven't tested in build.
    EDIT2: Probably my bad, I was terminating the timeline early.
    Last edited: Jan 31, 2023