We've just released Steam Audio 2.0-beta.16, in which the Unity plugin now provides support for occlusion of sound by dynamic geometry. The support for dynamic geometry is only applicable to occlusion and transmission; reflections and reverb do not support dynamic geometry.
[video=autoplay preload loop poster=https://steamcdn-a.akamaihd.net/apps/596420/announcements/dynamicgeometry/steamaudio_2.0-beta.16_dynamicgeometry.png]https://steamcdn-a.akamaihd.net/apps/596420/announcements/dynamicgeometry/steamaudio_2.0-beta.16_dynamicgeometry.webm?v=1[/video]
(This video contains audio; you may have to unmute it to listen.)
To make this work, Steam Audio uses Unity's built-in ray tracer, which can be enabled by attaching the Steam Audio Custom Settings component to a GameObject, and setting Ray Tracer Option to Unity. When using the Unity ray tracer, you don't need to tag objects with Steam Audio Geometry components; any GameObject with a collider can potentially occlude sound. To configure which colliders can occlude sound, you can move the occluders to appropriate layers, and configure Steam Audio to only use those layers for occlusion. This can be done in the Steam Audio tab (Window > Steam Audio), under Layer Mask. Note that materials are still specified by attaching Steam Audio Material components to the relevant GameObjects.
For more information, refer to the Unity plugin documentation.
