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:
- We don’t use any plugins, just FMOD alone, but I moved dlls around into various binary folders without success. (https://www.fmod.org/questions/question/fmod-not-playing-sound-in-packaged-build/)
- Help->Validate FMOD has no errors.
- There don’t appear to be any errors during runtime in the log files https://drive.google.com/open?id=0ByqRJN8UjA_AOUF1U3pDdGZOVEk
- Live Update will connect to Development Win 64 but does not show any live data.
I’m all out of ideas with getting this working properly, could it be a bank thing?
Uploaded the log here: https://drive.google.com/open?id=0ByqRJN8UjA_AeWdEakxVQVFDb3M
Nothing looks out of the ordinary.
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?
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.
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.
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”.
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)
This has solved the issue.
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 login to post comments
Please login first to submit.