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
I'm learning Wwise/Unity integration, and building a small demo scene. For part of the scene, the player moves from an exterior area, through a metal corridor, and finally into a large metal room. I have an AkEnvironment component and relevant AuxBus set up for both the exterior, and the large metal room. The exterior AuxBus has a very subtle, dry, reverb, and the metal room's reverb is very reflective and loud. These both work. I then created an AkEnvironmentPortal component, and attached it to the corridor running between the two areas (via a trigger volume hovering slightly above the floor), intending to have the reverb slowly increase as you move towards the room, and slowly decrease as you move towards the open end. The AkEnvironmentPortal object detects the two Environments, but will not change in real time unless the player exits and re-enters the trigger volume i.e., if you walk through the corridor from the outside to the metal room, the Exterior Environment settings play the whole way through the corridor, then suddenly switch to the Metal Room Environment settings once the player crosses the threshold into the room. When walking through the corridor towards the exit, the Metal Room Environment settings are active the whole way through the corridor, then suddenly switch to the Exterior settings once the player has exited the corridor, rather than crossfading smoothly. However, if I walk halfway through the corridor, then stop and jump (thereby exiting the AkEnvironmentPortal's trigger volume and re-entering it), the portal will update, and play the correct mix of both environments' reverb settings.

I'm lost as to why the AkEnvironmentPortal will only update if the player exits and re-enters the trigger volume, rather than gradually increasing or decreasing while the player moves through the volume. Any help would be greatly appreciated, as I can't find many other resources for this specific problem.
in General Discussion by Ciaran D. (100 points)

Please sign-in or register to answer this question.

...