How do I fix audio loop delay


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?


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.

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


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!