We use installed builds internally using a similar build command and we haven’t encountered this type of issue at all.
I’m very surprised that you would get log messages on the LogFMOD channel while trying to produce an installed build, when we make our installed builds it’s just using Epic’s source code so for us there’s no chance of any FMOD specific issues there. Are you adding the FMOD integration to the engine before attempting to build the installed build?
I’ve made the installed build with the plugin already copied insind Engine/Plugins.
Furthermore because it was making this error during the building of the DDC and its templates (FirstPerson, ThirdPerson…etc), I tried to make an installed build without DDC… And it worked, the build was successfull and I could package some templates.
Ah okay so it’s actually the DDC build which is failing, I think I can understand why you would get those errors in that context. It would be ideal if it were possible to build an installed build with our plugin but I’m not immediately sure how to fix the problem you encountered, so I’ll add an issue to our tracker so we can review this and figure it out for a future release.
In the meantime your workaround of not building the DDC is okay, I believe an alternative workaround would be adding the integration as an engine plugin after creating the installed build.
Think we’ve found it. At least we know what is happening and have a [not great] workaround.
When making a build from command line using Unreal 4.26’s Build Graph, the Unreal-specific contents of Content/FMOD (all the .uassets) are not generated. We do not keep these in source control.
When building from Editor this is not possible as when you start the Editor and load the project the Unreal-generated stuff in Content/FMOD is created if missing - so it cannot be missing when the editor-made build is done.
Our work-around is to check the Unreal-Editor-generated .uassets in Contents/FMOD into Perforce, which is a bit of a management headache if bank layouts change, but at least we can make builds from command line.
We suspect [but it’s a bit of a guess] that the code in question that is preventing these files being made in command line builds is if (!IsRunningCommandlet()) here:
void FFMODStudioEditorModule::ProcessBanks()
{
if (!IsRunningCommandlet())
{
BankUpdateNotifier.EnableUpdate(false);
AssetBuilder.ProcessBanks();
ReloadBanks();