Answered
0
0

Hi,

how can I package project with FMOD plugin for Android in UE 4.11?

This documentation is outdated: http://www.fmod.org/documentation/#content/generated/engine_ue4/deployment.html

In UE 4.11 CopyPluginLibs function in UEDeployAndroid.cs doesn’t exist….

Wishes,
Patryk

  • You must to post comments
Best Answer
0
0

The current release supports APL, so deployment should just work without needing to rebuild the engine any more!

  • Tomavatars

    Hey Geoff. I followed the new instructions with UE 4.11.2 (launcher version) and Fmod 1.8.04.
    I copied the plugin in a Plugins folder inside my game folder. But nothing happened. Fmod works but not the deployment.
    No Android binaries were built in the FmodStudio in plugins.

    Am I missing a huge thing?
    Thanks.

  • Geoff Carlton

    I can see from this post that you got it up and running:
    http://www.fmod.org/questions/question/ship-android-with-keystore-proguard-warning-ue4-4-10-4-fmod-1-8/

    In general though, to track down issues, look for FMOD log messages when you build for Android. You can verify that the fmod .so files are going into the right place:

    MyGame\Intermediate\Android\APK\libs\armeabi-v7a\libfmod.so
    MyGame\Intermediate\Android\APK\libs\armeabi-v7a\libfmodstudio.so
    MyGame\Intermediate\Android\APK\libs\fmod.jar

    Also the APK should add FMOD snippets to the Game Activity:

    MyGame\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java

    When launching, use logcat to look for FMOD sucessfully loading libraries at startup, and then loading banks. Remember that it tries to load banks from Content\FMOD\Mobile so export for mobile platform first.

  • You must to post comments
0
0

OK, it works but why FMOD doesn’t use new APL introduced in UE 4.10? It provides copying files so we don’t longer need to edit UEDeployAndroid.cs

  • Geoff Carlton

    I’ve just been looking at this exact thing. The next patch release will use the APL which means no more recompiling the engine to deploy Android.

    If you want to get it right now, I’ve also pushed up the changes into our github account here:

    https://github.com/fmod/ue4integration/tree/master/FMODStudio/Source/FMODStudio

    The changes are in the FMODStudio.build.cs and the APL xml files.

  • Patryk Stepniewski

    Unfortunately it doesn’t work :( What I see it copies fmod.jar file but doesn’t copy .so files:
    libfmodL.so
    libfmodstudioL.so

  • Geoff Carlton

    I should have mentioned, the next release will also move those .so files into a subdirectory with the architecture name, so you should move them from Binaries\Android to Binaries\Android\armeabi-v7a

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.