Sometimes the gun fire sounds can't be heard

wuyan

Member
Hello Everyone,

I have a problem. When I fight the enemy with assault rifle. The shot sound can not be heard intermittently, only the sound of bullets hit and shells falling. It gives me the feeling that there is a amount limit of sounds played at the same time, and the excess sounds will not be played. Or received. I don't know, just feeling.

What could have caused this? How can I solve it? Thank you so much!
 
I'd recommend looking into AudioSource priority - Unity will cut off lower-priority audio sources when there are too many playing (although I don't know the details on what the max number is, if it depends on hardware, etc.). So you may need to increase the priority on the weapon's audio source (i.e. reduce the priority number).
 
I'd recommend looking into AudioSource priority - Unity will cut off lower-priority audio sources when there are too many playing (although I don't know the details on what the max number is, if it depends on hardware, etc.). So you may need to increase the priority on the weapon's audio source (i.e. reduce the priority number).
Hi Andrew, thank you!
 
Top