I'm in the late stages of developing an RTS similar to total war. I have thousands of soldiers moving in 40 groups. I have an army_walk loop playing for each group the problem when many groups move there are too many sounds. How can I fix this?
You need to code up something to stop this loop getting triggered for every animation ... like a manager to manage the playing of this sound... Could even be that this loop should only play 1 instance and you just need something life if(!sound.isplaying) { sound.Play(); }