# Steam Audio, Unreal and Android

**URL:** https://qa.fmod.com/t/steam-audio-unreal-and-android/19474
**Category:** Unreal Engine
**Tags:** android
**Created:** [November 3, 2022, 4:08pm UTC](https://qa.fmod.com/t/steam-audio-unreal-and-android/19474 "2022-11-03T16:08:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![GRousselImki](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@GRousselImki](https://qa.fmod.com/u/GRousselImki)
#### Post date: [November 3, 2022, 4:08pm UTC](https://qa.fmod.com/t/steam-audio-unreal-and-android/19474/1 "2022-11-03T16:08:53Z")

</div>

Hi,

I’m working with FMOD and Unreal on a spatial audio project for Android using the Steam Audio spatialization plugin.

All these plugins should work well together but it looks like it doesn’t work as expected on android. I can’t load phonon.so files whereas they are into the lib folder of the apk.

- FMOD alone with unreal works well on android
- Steam audio alone with unreal works well on android
- FMOD and Steam audio work well on the Unreal editor and inside the mobile device preview. (On a windows machine)
- FMOD and Steam audio crash the app at startup on Android

Just a few info about the configuration :

- I created a \*\*\_APL.xml file to copy the phonon.so and the phonon\_fmod.so files into the apk as expected int the fmod documentation : www.fmod/docs/2.02/unreal/platform-specifics.html

- I checked into the apk file, the phonon\_fmod.so and phonon.so are inside the lib folder. (to be precise the libphonon.so and the libphonon\_fmod.so → lib prefix looks like it is added during copy)

When I start the android .apk It crashes after the splash startup image.

I get this Log error at startup :

[2022.11.03-13.02.05:534][0]LogFMOD: FFMODStudioModule startup  
[2022.11.03-13.02.05:534][0]LogFMOD: Lib path = ‘…/…/…/Production\_Project/Plugins/FMODStudio/Binaries’  
[2022.11.03-13.02.05:537][0]LogFMOD: Display: Loaded bank lookup  
[2022.11.03-13.02.05:539][0]LogFMOD: Display: Loaded asset lookup  
[2022.11.03-13.02.05:556][0]LogFMOD: Default sample rate = 24000  
[2022.11.03-13.02.05:556][0]LogFMOD: System sample rate = 48000  
[2022.11.03-13.02.05:641][0]LogFMOD: Loading plugin ‘phonon\_fmod’  
[2022.11.03-13.02.05:641][0]LogFMOD: Trying to load plugin file at location: phonon\_fmod.so  
[2022.11.03-13.02.05:642][0]LogFMOD: Error: …/android/src/fmod\_os\_misc.cpp(799) - dlopen failed: library “phonon\_fmod.so” not found

[2022.11.03-13.02.05:643][0]LogFMOD: Error: …/android/src/fmod\_os\_misc.cpp(799) - dlopen failed: library “phonon\_fmod.so” not found

[2022.11.03-13.02.05:643][0]LogFMOD: Trying to load plugin file at location: phonon\_fmod64.so  
[2022.11.03-13.02.05:643][0]LogFMOD: Error: …/android/src/fmod\_os\_misc.cpp(799) - dlopen failed: library “phonon\_fmod64.so” not found

[2022.11.03-13.02.05:644][0]LogFMOD: Error: …/android/src/fmod\_os\_misc.cpp(799) - dlopen failed: library “phonon\_fmod64.so” not found

[2022.11.03-13.02.05:644][0]LogFMOD: Trying to load plugin file at location: libphonon\_fmod.so  
[2022.11.03-13.02.05:645][0]LogFMOD: Loaded plugin phonon\_fmod  
[2022.11.03-13.02.05:645][0]LogFMOD: Loading plugin ‘resonanceaudio’  
[2022.11.03-13.02.05:645][0]LogFMOD: Trying to load plugin file at location: resonanceaudio.so  
[2022.11.03-13.02.05:646][0]LogFMOD: Error: …/android/src/fmod\_os\_misc.cpp(799) - dlopen failed: library “resonanceaudio.so” not found

[2022.11.03-13.02.05:646][0]LogFMOD: Error: …/android/src/fmod\_os\_misc.cpp(799) - dlopen failed: library “resonanceaudio.so” not found

[2022.11.03-13.02.05:647][0]LogFMOD: Trying to load plugin file at location: resonanceaudio64.so  
[2022.11.03-13.02.05:647][0]LogFMOD: Error: …/android/src/fmod\_os\_misc.cpp(799) - dlopen failed: library “resonanceaudio64.so” not found

[2022.11.03-13.02.05:648][0]LogFMOD: Error: …/android/src/fmod\_os\_misc.cpp(799) - dlopen failed: library “resonanceaudio64.so” not found

[2022.11.03-13.02.05:648][0]LogFMOD: Trying to load plugin file at location: libresonanceaudio.so  
[2022.11.03-13.02.05:648][0]LogFMOD: Loaded plugin resonanceaudio  
[2022.11.03-13.02.05:743][0]LogSteamAudio: Initialized module SteamAudio.  
…  
[2022.11.03-13.02.06:171][0]LogAndroid: Warning: dlopen failed: dlopen failed: library “…/…/…/Production\_Project/Plugins/FMODStudio/Binaries/Android/arm64-v8a/libphonon\_fmod.so” not found

(Don’t worry about the resonance audio plugin)

I noted two things :

- I find a bit strange the location where it searches for the libphonon\_fmod.so ( “…/…/…/Production\_Project/Plugins/FMODStudio/Binaries/Android/arm64-v8a/libphonon\_fmod.so”) because it looks like to be the search path of the computer.

- I never saw any file phonon\_fmod64.so into any of the library of steam audio.

Other infos :

- FMOD studio Version : 2.02.10
- Unreal Engine version : 4.27
- Steam audio version : 4.11.1
- Steam audio Support for FMOD version : 4.11.1

IN FMOD :

- steam audio plugins for fmod studio installed into the fmod Project folder and fmod configured for mobile
- fmod configured for mobile platform

Source : [Getting Started — Steam Audio FMOD Studio Integration documentation](https://valvesoftware.github.io/steam-audio/doc/fmod/getting-started.html)

IN UNREAL :

- FMODStudio, SteamAudioFMODStudio and SteamAudio plugins installed into the Game directory
- the Source/Project/Project.Build.cs contains SteamAudio as PublicDependencyModuleNames

Source : [Getting Started — Steam Audio FMOD Studio Integration documentation](https://valvesoftware.github.io/steam-audio/doc/fmod/getting-started.html)

Any ideas of what could be missing in the configuration?

Thanks a lot for your help!

---

<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 9, 2022, 12:10am UTC](https://qa.fmod.com/t/steam-audio-unreal-and-android/19474/2 "2022-11-09T00:10:08Z")

</div>

Hi,

Thank you for the detailed post, it does seem you are doing everything correctly. Is it possible to get a copy of the project uploaded to your profile to test on our side?

---

<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: [December 2, 2022, 12:13am UTC](https://qa.fmod.com/t/steam-audio-unreal-and-android/19474/3 "2022-12-02T00:13:04Z")

</div>

Hi,

Thank you for providing the project and for your patience.

> [@GRousselImki](#):
>
> [2022.11.03-13.02.06:171][0]LogAndroid: Warning: dlopen failed: dlopen failed: library “…/…/…/Production\_Project/Plugins/FMODStudio/Binaries/Android/arm64-v8a/libphonon\_fmod.so” not found

You are right, the SteamAudio plugin is trying to load files from the wrong directory and causing the crash.

> [@GRousselImki](#):
>
> [2022.11.03-13.02.05:645][0]LogFMOD: Loaded plugin phonon\_fmod

As here you can see FMOD has successfully loaded the plugin.

Unfortunately, I do not have a solution to the issue. You could post the issue on the Steam Audio GitHub page here: [GitHub - ValveSoftware/steam-audio: Steam Audio](https://github.com/ValveSoftware/steam-audio).

Again, thank you for your patience and I am sorry I can’t assist further.

---

<div class="post-metadata">

### Author: ![GRousselImki](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@GRousselImki](https://qa.fmod.com/u/GRousselImki)
#### Post date: [December 2, 2022, 9:31am UTC](https://qa.fmod.com/t/steam-audio-unreal-and-android/19474/4 "2022-12-02T09:31:52Z")

</div>

Thanks a lot for your time !

Sad to see it didn’t worked.

I will post an issue on the Steam Audio Forum.

Have a nice day !

![image001.jpg](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/6/6532614fb9fea623110d4cd5979699b5b8a45ecd.jpeg)
