Hello! I'm trying to set background music that should play repeatedly, but when I imported audio file (.mp3), unity changed its duration on a couple of milliseconds. Thus, some delay appeared in the end of the file. And I don't know how to fix it. Can you give me some advice?
Not a fix but work-arounds:
-
Use AudioClip.length and substract some seconds.
-
Convert your mp3 to a uncompressed format which the audio importer supports.
Unity 3.2 has seamless looping now.