Audio Occlusion

Audio Occlusion

The Audio Occlusion plugin for Unreal Engine 5 provides a highly customizable and easy-to-use solution for simulating realistic audio occlusion effects in your game environments. This plugin enables sounds to be blocked, muffled, or attenuated based on the objects or geometry between the sound source and the listener.

Quickstarts

Acquire

Install

  1. Launch Epic Game Launcher
  2. Open Unreal Engine > Marketplace tab
  3. Find Audio Occlusion plugin
  4. Click Install to Engine button
  5. Open you project, go Edit > Plugins
  6. Find and activate Audio Occlusion plugin
  7. Restart Unreal Engine
  1. Launch Epic Game Launcher
  2. Open Unreal Engine > Marketplace tab
  3. Find Audio Occlusion plugin
  4. Click Install to Engine button
  5. Copy AudioOcclusion plugin from [Unreal Engine]\Engine\Plugins\Marketplace\ to [Your Project]\Plugins\

Configure

  1. Open or create new MetaSound Source
  2. Add Plugin.AudioOcclusion interface to MetaSound Source. Add inteface
  3. Drag and drop the new Value from the INPUTS > Plugin > Audio Occlusion category into the MetaSound garph. New input
  4. Adjust the occlusion effect to suit your preferences. New input
ℹ️
Plugin.AudioOcclusion.Value ranges from 0.0 to 1.0, where 0.0 represents NO occlusion and 1.0 represents FULL occlusion.

Validate

  1. Place the MetaSound with the Plugin.AudioOcclusion interface into your map.
  2. Press Play In Editor to start the simulation.
  3. Open the game console and enter the command AudioOcclusion.Debug 2 to enable trace visualization. New input
⚠️
For visualization purposes, traces are displayed from the game character’s head. However, in actual usage scenarios, traces will originate from the listener’s position, which is typically the camera.