Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes
Hello
Well, I'm crazy ...
I am on a racing game. I would like to put a crowd here and there during the course. So I created a crowd SFX loop. It is implemented with a Multiple Position AkAmbiant and several prefabs with the same configuration ... But nothing moves! On the Profiler, I have the sound that is played, but it remains at the same volume (strong or weak depending on the Max Distance curve in the editor Attenuation ... No change, I'm on the Game Object or far (even very far) ...
I do not understand.
Is the attenuation distance based on the Games Object (s) AND the Main Camera?
I tried to move the camera and the Main Player manually in Unity during the Play, but nothing changed on the Profiler.
I spent too much time on it.

Someone who could understand where it came from? I feel like I have already tried everything ...

PS: There is the same "result" if I put only one GameObject with AkAmbiant (No multiple Position). No attenuation ...

PS 2 : Also, despite the Lesson 2 - on the 301 certification - the display of the Max Attenuation sphere does not appear ...

Thanks

Théophile Demarcq
in General Discussion by Théophile Demarcq (1.7k points)

1 Answer

0 votes
Hello,
I answer my own question after finding, but it can still serve: In fact, there was no AkAudioListener on the MainPlayer (due to a change in the Prefab) ... So, the sound worked but not the distance ratio and therefore no attenuation ...
Beginner error set!

Still, I do not understand why I do not see the Max Attenuation Sphere in Unity... the question remains open ...

Theophile Demarcq
by Théophile Demarcq (1.7k points)
Same doubt here, about Max Attenuation Sphere in Unity. :-/
it's a Wwise API issue. I've corrected it. Waiting an official correction you can get the right script here https://www.audiokinetic.com/qa/8391/my-solution-for-unity-attenuation-sphere-issue
Thanks Thibault
Merci beaucoup !
...