Search Unity

  1. 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
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

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,269
    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.
unityunity