- Home /
3D Audio Source plays choppy/poping in web player (Video)
Anyone got a hint on how to fix this sound issue. I have tried both OGG files and WAV files, including all of the load types when playing the file. But no luck. The scene has about 8 sounds total, but you are only in rage of a few of them in this video.
This seems to only happen to 3D audio source objects. Our 2D background audio is working fine.
http://www.youtube.com/watch?v=aTZ97HKpGMk
Sorry for the shaky cam video. I did jack in the audio so you hear the exact sound. I did want to use Fraps to slow the system down. Because that makes this sound way worse.
Some suggestions: Check if the audio file is unusually big (e.g. more than 2 or 3 mb) and try out playing back the file as a 2d audio file ins$$anonymous$$d to see if the sound is still distorted.
Also to make sure I understood correctly, the sound is fine when you play the game in the editor, but after building the game to the web player the distortion occurs?
Answer by screenracer · Mar 10, 2013 at 07:17 PM
When I play the sound in the editor, it sounds fine. Only when I deploy it to the web player.
I changed the sound effect to 2D and I no longer get the choppy effect, but the sound effect just plays at full volume all the time, not like a sound coming from the world. Note, we are using the UltimateFPSCamera package to create or character.
So I decided to create a test where I remove my "ultimate FPS Camera" Player setup from the hierarchy and add just a normal camera near the object, I even attached it a animated model so it would move around. It no longer created that choppy effect.
I will have to narrow what is causing the issue in the FPS camera tool set. I might have to go and post this question over on the fps tread.
Thank you for the hints. It helped me narrow down what the problem is.
Your answer
Follow this Question
Related Questions
Why does sound on Android play at double speed and crackle? 3 Answers
Audio controls disabled??! 0 Answers
Calculating rhythm of any music? 3 Answers
How To Turn Off Sound For Certain Objects? 1 Answer
unity won't play sounds i implement 1 Answer