# FMOD Resonance Audio Plugin on Linux Server

**URL:** <https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410>\
**Category:** Unreal Engine\
**Tags:** ue4\
**Created:** [November 9, 2020, 8:56am UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410 "2020-11-09T08:56:43Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![zsombor.bencsik](https://avatars.discourse-cdn.com/v4/letter/z/ee7513/32.png) [@zsombor.bencsik](https://qa.fmod.com/u/zsombor.bencsik)\
**Post date:** [November 9, 2020, 8:56am UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/1 "2020-11-09T08:56:43Z")

</div>

Our dedicated server runs on linux and it seems that there is no sound due to resonance audio not being found. Is it a problem on our end, or is there a specific method for building the plugin for linux?

Thanks in advance,  
Zs

---

<div class="post-metadata">

**Author:** ![Derek\_Burnheim](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/derek_burnheim/32/261_2.png) [@Derek\_Burnheim](https://qa.fmod.com/u/Derek_Burnheim)\
**Post date:** [November 10, 2020, 1:26am UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/2 "2020-11-10T01:26:20Z")

</div>

The Resonance Audio plugin should be included with our Linux distribution in the directory `plugins/resonance_audio/lib`.

At runtime your code would need to load the plugin using `FMOD::System::loadPlugin` before attempting to load any banks. If the plugin shared library is not in the same location as your executable then you’ll need to call `FMOD::System::setPluginPath` to add the appropriate path before attempting to load the plugin.

If you feel that this is correctly set up and it’s still not working then running a logging build may shed some light on what’s going wrong. Feel free to ask any additional questions if any of this doesn’t make sense, and to share your FMOD logs if you have them.

Cheers  
Derek

---

<div class="post-metadata">

**Author:** ![zsombor.bencsik](https://avatars.discourse-cdn.com/v4/letter/z/ee7513/32.png) [@zsombor.bencsik](https://qa.fmod.com/u/zsombor.bencsik)\
**Post date:** [November 10, 2020, 11:44am UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/3 "2020-11-10T11:44:32Z")

</div>

Hi Derek,

Thank you for the quick reply. I’m quite confused by “plugins/resonance\_audio/lib” directory. Should that be “gamedir/plugins/resonance\_audio/lib”?

Cheers,  
Zsombor

---

<div class="post-metadata">

**Author:** ![Derek\_Burnheim](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/derek_burnheim/32/261_2.png) [@Derek\_Burnheim](https://qa.fmod.com/u/Derek_Burnheim)\
**Post date:** [November 10, 2020, 8:01pm UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/4 "2020-11-10T20:01:27Z")

</div>

`plugins/resonance_audio/lib` should be the relative path for the plugin library within the FMOD Linux archive.

E.g. if you downloaded FMOD 2.00.13 for Linux from our website you’d get the archive `fmodstudioapi20013linux.tar.gz`. If you extract that archive in the user home directory with the command `tar xvzf fmodstudioapi20013linux.tar.gz` then the Resonance Audio plugin library should be found at `~/fmodstudioapi20013linux/plugins/resonance_audio/lib/libresonanceaudio.so`.

---

<div class="post-metadata">

**Author:** ![Derek\_Burnheim](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/derek_burnheim/32/261_2.png) [@Derek\_Burnheim](https://qa.fmod.com/u/Derek_Burnheim)\
**Post date:** [November 17, 2020, 11:01pm UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/5 "2020-11-17T23:01:33Z")

</div>

Hi Zsombor, just wondering if you were still having an issue with this?

---

<div class="post-metadata">

**Author:** ![zsombor.bencsik](https://avatars.discourse-cdn.com/v4/letter/z/ee7513/32.png) [@zsombor.bencsik](https://qa.fmod.com/u/zsombor.bencsik)\
**Post date:** [November 19, 2020, 4:25pm UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/6 "2020-11-19T16:25:45Z")

</div>

Hi,  
unfortunately yes, and it became a high priority error here, so I try to provide a more detailed description:

We have the UE4 FMOD plugin with Resonance in our game project, it works fine for Windows clients and server, but the Linux Server cross compile build fails with the following error log:  
[FMOD-BUILD-FAILED-ProjectLauncher.log](https://qa.fmod.com/uploads/short-url/jf6wvP2Rk039K92FJljX4op6DCH.log) (53.1 KB)  
So at the moment we cannot build a proper Linux server, but we have a 1 week deadline for it.

Alternatively, if we build the game with the FMOD plugin without Resonance, downloaded from [https://www.fmod.com/download](https://www.fmod.com/download) , both the Win client and Linux server builds are successful, but there is no sound in Win clients, because of the missing resonance references (we got tons of warnings in the game log).

So the latter “no-sound” plugin was used only for testing our Linux Servers, but within 2 weeks we want to release the game with Linux servers, and for multiple platforms, so we must have a proper setup in the following week, to have one more week for testing…

Thanks!

---

<div class="post-metadata">

**Author:** ![Derek\_Burnheim](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/derek_burnheim/32/261_2.png) [@Derek\_Burnheim](https://qa.fmod.com/u/Derek_Burnheim)\
**Post date:** [November 19, 2020, 7:30pm UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/7 "2020-11-19T19:30:29Z")

</div>

I’ll investigate the build error - I can see you’re using UE4 4.24, which version of the FMOD integration are you using?

---

<div class="post-metadata">

**Author:** ![zsombor.bencsik](https://avatars.discourse-cdn.com/v4/letter/z/ee7513/32.png) [@zsombor.bencsik](https://qa.fmod.com/u/zsombor.bencsik)\
**Post date:** [November 20, 2020, 8:04am UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/8 "2020-11-20T08:04:09Z")

</div>

Sorry, I forgot to mention, we use UE4.24.3 and FMOD 2.00.07

---

<div class="post-metadata">

**Author:** ![Derek\_Burnheim](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/derek_burnheim/32/261_2.png) [@Derek\_Burnheim](https://qa.fmod.com/u/Derek_Burnheim)\
**Post date:** [November 24, 2020, 1:30am UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/11 "2020-11-24T01:30:11Z")

</div>

@zsombor.bencsik

I haven’t been able to reproduce your build error when building a Linux dedicated server using UE 4.24.3 with FMOD 2.00.07.

Looking at your build log it is complaining about missing symbols which should be found in libfmodstudioL.so. Perhaps try extracting the FMOD 2.00.07 UE4 integration for Linux again to make sure the files in `gamedir\Plugins\FMODStudio\Binaries\Linux\x86_64` are correct.

If you create a new blank UE4 project with UE 4.24.3, add the FMOD 2.00.07 integration for Windows and Linux and configure the FMOD plugin to use your game’s banks, are you able to reproduce the build error with that minimal setup? (That’s basically what I’ve done except I modified our FMOD Studio examples project to add a Resonance Audio Source effect to one event and routed it to mixer bus with a Resonance Audio Listener attached.)

I did run into a problem with the Resonance Audio plugin not getting deployed when building, that was caused by me forgetting to add the `plugins.txt` files required to get the Unreal build tool to copy our plugins. Refer to [the documentation](https://fmod.com/resources/documentation-ue4?version=2.0&page=plugins.html) for details. Note that for the Linux build the `plugins.txt` does need to include the `lib` suffix when referring to the Resonance Audio plugin, but exclude the `.so` extension. I.e. the entry should be `libresonanceaudio`.

In my testing when I’d forgotten to add the required `plugins.txt` files, it didn’t seem to matter that the dedicated server couldn’t load the plugin - with the plugin loaded successfully on the client the audio playback worked correctly even though the server couldn’t load the plugin.

(I added a couple of replies to this thread then realized I’d made a mistake in testing so I’ve removed those replies to avoid future confusion!)

---

<div class="post-metadata">

**Author:** ![zsombor.bencsik](https://avatars.discourse-cdn.com/v4/letter/z/ee7513/32.png) [@zsombor.bencsik](https://qa.fmod.com/u/zsombor.bencsik)\
**Post date:** [November 24, 2020, 9:29am UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/12 "2020-11-24T09:29:36Z")

</div>

Thanks a lot, I can try it tomorrow with our project and if does not work with a test project too, and will give you feedback.  
Thanks again for testing it!

---

<div class="post-metadata">

**Author:** ![zsombor.bencsik](https://avatars.discourse-cdn.com/v4/letter/z/ee7513/32.png) [@zsombor.bencsik](https://qa.fmod.com/u/zsombor.bencsik)\
**Post date:** [November 27, 2020, 11:05am UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/13 "2020-11-27T11:05:23Z")

</div>

Finally it is fixed, with the updated libresonanceaudio.so and recreated plugins.txt files it works now , thanks 🙂

---

<div class="post-metadata">

**Author:** ![Derek\_Burnheim](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/derek_burnheim/32/261_2.png) [@Derek\_Burnheim](https://qa.fmod.com/u/Derek_Burnheim)\
**Post date:** [November 29, 2020, 9:14pm UTC](https://qa.fmod.com/t/fmod-resonance-audio-plugin-on-linux-server/16410/14 "2020-11-29T21:14:28Z")

</div>

That’s great news, thanks Zsombor
