# Can't switch branches because unity is accessing fmodstudioL.dll

**URL:** <https://qa.fmod.com/t/cant-switch-branches-because-unity-is-accessing-fmodstudiol-dll/19564>\
**Category:** Unity\
**Tags:** unity\
**Created:** [November 22, 2022, 7:34pm UTC](https://qa.fmod.com/t/cant-switch-branches-because-unity-is-accessing-fmodstudiol-dll/19564 "2022-11-22T19:34:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fumeijoe](https://avatars.discourse-cdn.com/v4/letter/f/f04885/32.png) [@fumeijoe](https://qa.fmod.com/u/fumeijoe)\
**Post date:** [November 22, 2022, 7:34pm UTC](https://qa.fmod.com/t/cant-switch-branches-because-unity-is-accessing-fmodstudiol-dll/19564/1 "2022-11-22T19:34:07Z")

</div>

Is it necessary for unity to access fmodstudioL.dll at all times? Is it possible to prevent that? It would be really inconvenient to have to close the editor everytime I have to switch branches just because I’m using fmod.

---

<div class="post-metadata">

**Author:** ![fumeijoe](https://avatars.discourse-cdn.com/v4/letter/f/f04885/32.png) [@fumeijoe](https://qa.fmod.com/u/fumeijoe)\
**Post date:** [November 22, 2022, 7:53pm UTC](https://qa.fmod.com/t/cant-switch-branches-because-unity-is-accessing-fmodstudiol-dll/19564/2 "2022-11-22T19:53:36Z")

</div>

I understand that the file is needed to run fmod in the background but I wonder if that’s necessary? It’d at least be nice if that functionality could be disabled for team members who aren’t using fmod.

---

<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:** [November 23, 2022, 11:46pm UTC](https://qa.fmod.com/t/cant-switch-branches-because-unity-is-accessing-fmodstudiol-dll/19564/3 "2022-11-23T23:46:58Z")

</div>

Hi,

This could be caused by the FMOD system not being stopped correctly when exiting play mode. Are there any `Event Instances` or `Programmer Sounds` that you are creating and playing yourself?

Example of playing and `Event Instance` yourself: [https://fmod.com/docs/2.02/unity/examples-basic.html](https://fmod.com/docs/2.02/unity/examples-basic.html)

Example of a `Programmer Instrument`:  
[https://fmod.com/docs/2.02/unity/examples-programmer-sounds.html](https://fmod.com/docs/2.02/unity/examples-programmer-sounds.html)

If these processes are not terminated correctly they can cause issues.

Hope this helps!
