Answered
0
0

Hi,

I’ve got UE4.13 installed, with FMOD 1.08.14 (4.13) inside the project plugins folder. I’ve got banks built with FMOD Studio 1.08.14, and have Reloaded Banks using File->Reload Banks in the editor.
In Project->Packaging settings I have FMOD as an “Additional Non-Asset Directories to Package”.
Our file structure is Content->FMOD->Banks/Buses/Desktop etc.

All sounds and sound effects, including volume control (Bus Set Fader Level blueprint node) work perfectly in Editor (Play in Viewport & Play as Standalone modes) and on Xbox One/ PS4 shipping and development builds. The PC versions however have music and only one bank working. All other sounds do not play when they should. Additionally, “Bus Set Fader Level” does not have any effect on the volume of the music audio.

I believe I’ve exhausted all routes of enquiry so far, including:

I’m all out of ideas with getting this working properly, could it be a bank thing?

  • Andrew Bennison

    Uploaded the log here: https://drive.google.com/open?id=0ByqRJN8UjA_AeWdEakxVQVFDb3M

    Nothing looks out of the ordinary.

  • Cameron Baron

    Everything looks fine in the log, it even says that it is opening all the banks.

    You could try manually deleting the banks from the FMOD folder in the project and re-importing them.

    Are you able to reproduce this in a new/empty project at all?

  • Andrew Bennison

    I deleted the Content/FMOD/Desktop folder, opened FMODStudio, re-built the Desktop banks and restarted my engine. All sounds imported fine. Packaged build it’s still not working.

    A new project was able to play all sounds that are not currently working in our main project.

  • Cameron Baron

    The next step I would take is deleting the FMODStudio folder in Plugins, then copy in a fresh copy of the integration.

    It looks like it has something to do with your main project in particular, since you can get the sounds to work in another project, but without any errors makes it difficult.

  • Andrew Bennison

    Re-installing the plugin hasn’t changed the behaviour we’re seeing either.

    It’s definitely a weird one, because on everything except packaged Win builds the audio is perfect. And even when broken it’s only specific groups of sounds like “box movement” or “UI”.

Best Answer
0
0

Apparently on PC, FMOD was not initialising properly but on all other platforms it was. It boiled down to a timing issue so we’ve inserted the FMOD constructor into a class derived from UGameInstance:

UGIDefaultBase::UGIDefaultBase(const FObjectInitializer& ObjectInitializer) : UGameInstance(ObjectInitializer)
{
IFMODStudioModule::Get();

}

This has solved the issue.

  • Cameron Baron

    Glad you got this sorted, I believe this can be caused by the blueprints being serialized from disk before any plugins are loaded.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.