- Home /
How do I fix audio loop delay
Hi
I have an audio file that loops perfectly. But in Unity it gets delayed every time it loops. So the most sensitive sounds that I have sound horrible when there is a delay after every time it loops. How can I fix this? Is there another way to make an audio file to loop without any delay between the loops?
[EDIT]
Is it possible to make a loop using PlayOneShot? Because PlayOneShot will overlap the existing sound, not like Play that restarts the sound.
All answer are helpful, so leave a comment or an answer.
Answer by MOLB · Jun 21, 2012 at 07:41 PM
I fixed it! I had to trim the beginning and end a little bit, and now it sounds like it should. There isn't a problem with the loop after all. Thanks for the help anyway!
Answer by programmrzinc · Jun 21, 2012 at 02:53 PM
the delay seems to be a loading problem. it may be a large file.
you might be calling it in a function that is taking a while
Your answer
Follow this Question
Related Questions
Game created that Users can add own music? 1 Answer
Can you fix my code? (Audio for doors) 2 Answers
Unity keeps altering my audio asset on import...? 3 Answers
Why Doesn't My Music Loop? 5 Answers