|
Post by Nikola on Feb 20, 2022 7:20:35 GMT
Hi, this has been a really annoying issue for me for a while and I tried to look for a setting that could be relevant so many times. So I have rotating axe in my game that hits enemies multiple times so it has to plays a lot of sounds in a short duration, especially if many enemies are stacked on top of one another. I have voices set reasonably high for this audio group, however when it starts hitting many enemies at once, all of the OTHER audio playing will fade out to zero and I just hear the rotating axe hitting sound. I'm really confused what this is, I thought voices were just limiting the one sound group and not affecting everything else? This happens with any audio that's being spammed which happens a fair bit because my game has a lot of enemies on screen at once at any given time so there's a lot of stuff going on. Limiting the spammed sound is desirable, but literally muting all the other audio certainly isn't. What is this annoying feature / setting and how do I disable it?
|
|
|
Post by Nikola on Feb 20, 2022 7:40:44 GMT
Is there a global voice limit I'm not aware of perhaps? My sound bus says NO LIMIT but says its limited by the max number of voices. Do I need to increase the limit of all the audio groups to increase the global limit? This seems really dumb if that's the case
|
|
|
Post by DarkTonic Dev on Feb 20, 2022 17:43:10 GMT
Maybe you're hitting the max voices in Unity? That defaults to 32 unless you change it. When you do hit it, the 32 Audio Sources with the highest priority will be played and the rest will be muted. This is Unity automatic functionality and we cannot control it.
Other than that I have no other ideas.
-Brian
|
|
|
Post by Nikola on Feb 20, 2022 22:40:03 GMT
Maybe you're hitting the max voices in Unity? That defaults to 32 unless you change it. When you do hit it, the 32 Audio Sources with the highest priority will be played and the rest will be muted. This is Unity automatic functionality and we cannot control it. Other than that I have no other ideas. -Brian You were absolutely right, thank you! 5 years of using this engine and I had no idea they had their own audio limit
|
|
|
Post by DarkTonic Dev on Feb 21, 2022 3:03:53 GMT
No problem. No you can increase that from the default if you need it. Alternatively, you can set a reasonable max for your sound effect that leaves you voices for other things.
-Brian
|
|