# FMODUnity - Occlusion script has no audible effect despite visualiser and interaction with FMOD Events and Studio Listener working

**URL:** <https://qa.fmod.com/t/fmodunity-occlusion-script-has-no-audible-effect-despite-visualiser-and-interaction-with-fmod-events-and-studio-listener-working/24264>\
**Category:** Unity\
**Tags:** unity\
**Created:** [May 14, 2026, 8:01pm UTC](https://qa.fmod.com/t/fmodunity-occlusion-script-has-no-audible-effect-despite-visualiser-and-interaction-with-fmod-events-and-studio-listener-working/24264 "2026-05-14T20:01:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomNTU\_61416](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@tomNTU\_61416](https://qa.fmod.com/u/tomNTU_61416)\
**Post date:** [May 14, 2026, 8:01pm UTC](https://qa.fmod.com/t/fmodunity-occlusion-script-has-no-audible-effect-despite-visualiser-and-interaction-with-fmod-events-and-studio-listener-working/24264/1 "2026-05-14T20:01:27Z")

</div>

Hi

I’ve been trying to make an old audio occlusion script work, and I’ve fixed all the errors that have come up, but now I’m stuck because while the visualiser works and everything else regarding teh script finding the Studio Listener etc, there’s no actual occlusion. I’ve attached screenshots of the scrips in case someone can help figure out what’s going on. I am extremely inexperienced with coding by the way.

Thank you for the help!!

 ![Code_JE79LVlUMs](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/28f3ca5f93ac6682d0bf444d42296cb84226efd3.png)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [May 15, 2026, 4:40am UTC](https://qa.fmod.com/t/fmodunity-occlusion-script-has-no-audible-effect-despite-visualiser-and-interaction-with-fmod-events-and-studio-listener-working/24264/2 "2026-05-15T04:40:50Z")

</div>

Hi,

Would it be possible to share the code in a `.txt` file?

What version of FMOD are you using?

Are there any errors in the logs with the following settings?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/1/1a91e3bf2858b121b6612cdf91de995d81d3711a.png)

When recording a session with the [FMOD Studio | Profiler](https://fmod.com/docs/2.03/studio/profiling.html) are you seeing the parameter updating correctly?
