Search Unity

Audio track has a little pause at the end.

Discussion in 'Timeline' started by Czejkab, Feb 13, 2020.

  1. Czejkab

    Czejkab

    Joined:
    Dec 27, 2018
    Posts:
    5
    When i play looped audio in timeline, it has a little pause at the end of loop befor it starts again.
    This audio work perfect on Audio Source component, but not in Timeline. I set Playable Director Wrap Mode to Loop and also checked Loop in audio clip in Timeline. Is there anything else I need to do to right loop sound?
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    I'm not sure there is way to make this work currently if your audio clip starts on the first frame.

    Audio normally has a bit of a look ahead to make sure the clip starts on the correct frame, but that doesn't apply when the timeline loops, and when it loops it likely doesn't restart exactly at time = 0.

    The timeline looping is different than the audio source knowing it needs to play a looped clip.

    Feel free to file a bug for this though, it's an oversight.
     
    Czejkab likes this.
  3. Katerpilet

    Katerpilet

    Joined:
    Aug 2, 2015
    Posts:
    87
    Is there an update on this? I'm hitting this as well