Search Unity

Sound is distorted when on play mode

Discussion in 'Scripting' started by fabianampires, Nov 27, 2014.

  1. fabianampires

    fabianampires

    Joined:
    Mar 30, 2014
    Posts:
    12
    Hi Everyone,

    I've been stuck on this one for a while. I have a sound file I'm playing when the user loses a game. The usual trombon "failure" sound. It's an MP3 file like the rest of my audio files, I don't know why but when this specific sound plays, it sounds really distorted and even though I'm using:

    source.PlayOneShot(loose, 0.7F);

    it keeps playing like a loop (loop option is disabled on the audio source).

    I've tried changing doppler and pan level to 0 already. Any other ideas about what could be happening?

    Thanks
    Fabiana