I've got this storage problem, I have 6 mono .wav sound files in a simple scene, walking swinging a weapon and impact sounds, but wen playing the scene and moving the character around the sounds slowly play slower and slower like someone talking in slow-motion, everything else in the scene move ok no slowdown in the graphics.
My audio setting are
Volume - 1
Roll of scale - 1
Speed of sound - 347
Doppler factor - 1
Default speaker mode - mono
DSP Buffer size - default
Anyone know what can be causing this? Is there a command to reset the audio file before playing it?
pls post your script, we cant help you without it...
I fixed it by creating a soundController.js script, putting it on the camera that follows the model, then putting all my sound files on there and then doing a
var SoundCntrl : soundController; and dragging the camera into it in the inspector window.
soundCntrl.RunSound(); when I need the sounds and it's working fine now.
but next time pls just post your code
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
4 People are following this question.
Array of audio clip arrays?
Voice Overs with Dynamic Content? ("You have _X_ items")
A question about Audio Playback...
Play audio C# [fixed]
How to convert decibel(dB) number to audio source volume number 0to1?