Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Hi,

Since beginning to prototype our first project using Wwise 2017, we've noticed that the changes to how Wwise registers listeners in Unity has affected the SetObjectObstructionAndOcclusion API-call. We've tested it by setting up an emitter playing music and having a simple scene with just one listener on the main camera using raycasts to check if the source is occluded or not. The script works and the correct values from the SetObjectObstructionAndOcclusion-call comes through for us to see in the profiler in Wwise, but the music playing is not audibly affected by these values.

The curves are all set up in Project Settings in Wwise. The one and only listener in the scene is set to be default, and it's ID is correct. This is what we have in script;

AkSoundEngine.SetObjectObstructionAndOcclusion(myEmitter, myCamera, 0.9f, 0.9f); Where "myEmitter" is the Unity-GameObject playing the music and "myCamera" is the Unity-GameObject with the MainCamera and our AkAudioListener.

How has this changed since 2017, and why isn't this doing it for us?
in General Discussion by Per W. (160 points)

Please sign-in or register to answer this question.

...