So I’m developing my game for Linux using FMOD and Resonance Audio.
After building my game (for Linux) and hitting play, I get an issue loading the libresonanceaudio.so file. FMOD seems to be looking in (relative to the build directory) Whatever_Data/Plugins/ instead of Whatever_Data/Plugins/x86_64 on Linux.
A current workaround is in PlatformLinux.cs, changing out the GetPluginPath(...) function (line 82-85) to this:
internal override string GetPluginPath(string pluginName)
{
return string.Format("{0}/{1}/lib{2}.so", GetPluginBasePath(), RuntimeUtils.GetPluginArchitectureFolder(), pluginName);
}
Note that it’s now also looking inside the Whatever_Data/Plugins/{RuntimeUtils.GetPluginArchitectureFolder()}/, instead of directly inside Whatever_Data/Plugins/.