I followed the instruction to use FMOD in ue4 and now have a plugin that is compiled with the ue4 project that currently targets Win64 and PS4 (Engine sources from Epic’s github).
FMOD is loaded and works in the Editor but I can’t make it work on the devkit and it seems to be a path problem that I fail to solve.
I’m using fmod 1.08.04 with ue4 4.12 preview 4.
The plugin is stored in:
and the .prx files are in:
The working directory set up in the VS project properties is
return FString::Printf(TEXT(“lib%s.prx”), ShortName);
Which is correct according to what I read on the forum.
I have the following logs when I run the project on the dev kit:
LogFMOD: FFMODStudioModule startup
LogFMOD: Lib path = ‘…/…/…/engine/plugins/fmodstudio/Binaries’
LogFMOD: FFMODStudioModule::LoadDll: Loading libfmodL.prx
LogFMOD:Error: Failed to load FMOD DLL ‘libfmodL.prx’, FMOD sounds will not play!
LogFMOD: FFMODStudioModule::LoadDll: Loading libfmodstudioL.prx
LogFMOD:Error: Failed to load FMOD DLL ‘libfmodstudioL.prx’, FMOD sounds will not play!
I tried to modify the paths in FFMODStudioModule, the working directory and also tried to put the plugin in the project’s directory instead of the engine’s directory, without any success.
Any idea to make this work ?
Any idea to make it work using the project’s directory instead of the engine’s directory ?