I have a rain sound effect set up with one variation like so:
Now, when I try to run it, the audio fails to play and I get
MasterAudio: All 1 children of RainThunderstormEdited were busy. Will not play this sound for this instance. If you need more voices, increase the 'Voices / Weight' field on the Variation(s) in your Sound Group.
When I increase it to 2 voices allowed on the sound group, it creates a second child in the inspector, and correctly runs, but this confuses me.
Since there is only 1 variation, shouldn't it correctly run when only having 1 "Voices/Weight"? Do I have something else configured incorrectly?
Post by DarkTonic Dev on Jul 17, 2023 20:29:58 GMT
Yes, your second screen shows that you have 1 voice and your second screen shows that the Bus can play up to 3 sounds.
There's "code warming" that silently plays the first variation of the first Sound Group when Unity starts play mode. If you tried to play the sound during that, it wouldn't work. If it was done warming, it would work. Aside from that, if you have other Sound Groups or it's not the first, that's not it.
You can optionally turn off code warming in Advanced Settings if you like, but that first time you go to play a sound will take substantially longer as the code warms then (there will be latency).