# "Plugin 'libfmodstudio.so' in several locations" && "Plugin without certain callbacks specified" FMOD 2.0 Errors (Switch)

**URL:** <https://qa.fmod.com/t/plugin-libfmodstudio-so-in-several-locations-plugin-without-certain-callbacks-specified-fmod-2-0-errors-switch/14588>\
**Category:** Unity\
**Created:** [April 19, 2019, 1:44am UTC](https://qa.fmod.com/t/plugin-libfmodstudio-so-in-several-locations-plugin-without-certain-callbacks-specified-fmod-2-0-errors-switch/14588 "2019-04-19T01:44:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SharpeDesigns](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@SharpeDesigns](https://qa.fmod.com/u/SharpeDesigns)\
**Post date:** [April 19, 2019, 1:44am UTC](https://qa.fmod.com/t/plugin-libfmodstudio-so-in-several-locations-plugin-without-certain-callbacks-specified-fmod-2-0-errors-switch/14588/1 "2019-04-19T01:44:18Z")

</div>

Hey there!

I’m currently trying to test out the FMOD 2.0 integration in a blank Unity 2018.3.11f1 Switch project but am getting the following error:

Plugin ‘libfmodstudio.so’ is used from several locations:  
Assets/Plugins/FMOD/lib/android/armeabi-v7a/libfmodstudio.so would be copied to /libfmodstudio.so  
Assets/Plugins/FMOD/lib/android/x86/libfmodstudio.so would be copied to /libfmodstudio.so  
Plugin ‘libfmod.so’ is used from several locations:  
Assets/Plugins/FMOD/lib/android/armeabi-v7a/libfmod.so would be copied to /libfmod.so  
Assets/Plugins/FMOD/lib/android/x86/libfmod.so would be copied to /libfmod.so  
Please fix plugin settings and try again.

Deleting the armeabi-v7a plugin folder allows me to make a successful build, but leads to the following issue when playing any FMOD event in the build:

SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Debug.Initialize : ERR\_UNSUPPORTED : A command issued was not supported by this object. Possibly a plugin without certain callbacks specified.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [April 24, 2019, 3:30am UTC](https://qa.fmod.com/t/plugin-libfmodstudio-so-in-several-locations-plugin-without-certain-callbacks-specified-fmod-2-0-errors-switch/14588/2 "2019-04-24T03:30:15Z")

</div>

> [@SharpeDesigns](#):
>
> Plugin ‘libfmodstudio.so’ is used from several locations:…

This issue was caused by a conflict in meta files and has been fixed for the next release.

> [@SharpeDesigns](#):
>
> SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Debug.Initialize : ERR\_UNSUPPORTED…

Are you able to provide more information on this error?

---

<div class="post-metadata">

**Author:** ![SharpeDesigns](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@SharpeDesigns](https://qa.fmod.com/u/SharpeDesigns)\
**Post date:** [April 24, 2019, 7:56pm UTC](https://qa.fmod.com/t/plugin-libfmodstudio-so-in-several-locations-plugin-without-certain-callbacks-specified-fmod-2-0-errors-switch/14588/3 "2019-04-24T19:56:09Z")

</div>

Awesome, thanks for the info!

> [@](#):
>
> Are you able to provide more information on this error?

Once I successfully get a Switch build to compile and deploy, the InitializedException error floods the EDEV kit debug log at runtime and none of the FMOD sounds play. I’ve tried making both a fresh Unity 2018.3.11 project (plus Switch plugins) and a fresh FMOD studio 2.0 project but neither seem to resolve the issue.

I’m not sure if this might have something to do with how I’ve gotten around the first issue I mentioned? I’ve tried both deleting the whole unity Android plugin folder and just unchecking the Switch platform option for the conflicting plugins. I’ve also tried making both multiplatform and individual Switch builds from Studio with no luck.

I haven’t gotten to try checking with Unity 2019.1 since I’d have to create a whole new SDK configuration, but I’m wondering if that might be a factor?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [April 30, 2019, 12:45am UTC](https://qa.fmod.com/t/plugin-libfmodstudio-so-in-several-locations-plugin-without-certain-callbacks-specified-fmod-2-0-errors-switch/14588/4 "2019-04-30T00:45:29Z")

</div>

It looks like this may be caused by the Integration linking to the non-logging (release) lib and the RuntimeManager calling [Debug\_Initialize](https://www.fmod.com/resources/documentation-api?version=2.0&page=core-api-common.html#debug_initialize) in a development build.

We currently use statically linked libs for Switch, so we cannot automatically change the libs used for it, this has to be done manually in the Unity editor. I will also get this step added to the docs as it doesn’t appear to be mentioned in there.

 ![PSxn8VR3sC](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/1X/41c48c0602b5918eb9616070e87b23918725faa3.gif)

---

<div class="post-metadata">

**Author:** ![SharpeDesigns](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@SharpeDesigns](https://qa.fmod.com/u/SharpeDesigns)\
**Post date:** [May 2, 2019, 5:59pm UTC](https://qa.fmod.com/t/plugin-libfmodstudio-so-in-several-locations-plugin-without-certain-callbacks-specified-fmod-2-0-errors-switch/14588/5 "2019-05-02T17:59:28Z")

</div>

Ahhh had a feeling it would be something simple like this… Worked perfectly, thanks!
