Glitch at the end of audio files in Unity (PC)

I have a big problem with noise crackling at the end of audio files in Unity3D (for pc). Everytime a soundfile ends there is a very loud noise-click both with loops (at the loop point) and with one-shot sounds.
Changing the format seems to have no effect whether it’s wav, ogg, stereo, mono ect.
The problem is both in the editor and in builds.
Can anybody be of assistance?

Please discuss the PC version on the betatester mailing list.

In your specific case you should submit a bug with an example project and the audio files so we can take a look.

Thanks

Are you sure that your clips are ending at a zero crossing?

This is a common problem with loop points (not just PC version), but I haven’t seen it happen only at the end of non-looping audio files that terminate in silence/zero crossings.

I’ve experienced a very similar thing. We fixed it by swapping out the soundcard. Originally, audio was coming from the motherboard. When we put a $60.00 sound card in, the popping went away. I can get you the version of the sc tomorrow if you’d like.

d

Sound loss is ‘very’ common for me, report this as a bug. From what I know, the sound clip plays until interrupted or comes to completion. On my iPhone version, after I tell the sound to play if another sounds (mono, uncompressed, wav file, not background) starts it interrupts the previous one. This is consistent with both syncronous and asyncronous sounds. I’ve reported it in bugs back in 2007/2008 and again in 2009, it really isn’t a priority since all results ended in the same answer to me in email, they can’t reproduce this on their end so the cases get closed.

This is also consistent with what I see in Unity on the Mac when I build for web, mac or windows distribution (not beta, just 2.1 pro, not in the beta)

So, log a support ticket / bug report and let them research it.