I’ve created a river with a spline mesh and wanted to spawn sounds between the spline points automatically. I gave those sounds a capsule attenuation shape. It looks like this:
Now I thought I restrict to play max. 2 water flowing sound cues and set the ‘Max Count’ setting in the Sound Concurrency menu to 2.
However, based on the resolution rules in the concurrency menu I get different errors.
I started all test at sound location no. 3 and moved to 4. then to 2. and 1.
-Prevent new: 1. and 2. audio is playing. Error note: Error Blueprint Runtime Error: Attempted to access AudioComponent_228 via property CallFunc_SpawnSoundAtLocation_ReturnValue, but AudioComponent_228 is pending kill from function: ‘ExecuteUbergraph_BP_River’ from node: Set in graph: EventGraph in object: BP_River . The same error note is also for Audio_Component_229 (the fourth spawned audio).
-Stop oldest: 3. and 4. audio is playing. No error. Makes sense.
-Stop farthest, then prevent new: 1. and 4. not playing. Same error as above.
-Stop farthest, then oldest: Same as previous setting.
Stop lowest piority: 1. and 2. not playing. No error.
Stop quietest: 3. and 4. playing normally, but when moving to 2. and 1. there is a sound error, like resonance disaster.
It looks like in some resolution rules the concurrency system tries to kill my spawned sounds and thus they will never be able to play a sound.
Of corse I could set the max sounds to something bigger like 16, but would that not be a waste of audio channels?