FMOD VCA volume set and Bus volume set appears to do nothing in packaged build of 4.25 unreal. I can play with the sliders in editor and I get the desired volume change effect that im looking for. In the packaged version however It seems to do nothing? Any assistance would be greatly appreciated.
I have no errors in logs and all banks, busses and VCA’s are being loaded and intialized correctly according to the log files.
We’ve added a cpp gamemode class and have parented our entry level map gamemode to this newly created gamemode. Below you can see how the constructor is written and i’ve included both header and CPP file screenshots. We are still having exactly the same issue.
Weirdly only the VCA + Busses and around 5/6 sounds of the whole project fail to load. Once FMOD initialises after the failures every single VCA, Bus and Sound gets loaded correctly but the issue still persists and the 5/6 sounds that failed initially also dont work.
I feel it important to mention that the 5/6 sounds that fail to load are not in one central location but are in various classes around the project that sit as components alongside other component sounds that are being loaded correctly and working.
Solved the issue in the end. It seems you guys have a problem with referencing in nodes themselves.
Rather than this:
You must create a soft reference variable of type, set that variable to be whatever you want either an Event / Bus / VCA and then do this.
Same applies for all nodes like Play Event at location, Play Event Attached, VCA Set Volume and Bus Set Volume.
Definitly an issue and really not the cleanest work around as Im now having to create soft reference variables for literally every fire and forget sound but atleast I now can have players set their volume in game!
I’ve spent some time today investigating this further and I believe the fundamental problem is still an issue of references to FMOD assets being deserialized before the FMODStudio module has initialized and created the assets. Your workaround makes sense. By using a soft reference to the Event / Bus / VCA the engine won’t try to load the FMOD asset when it encounters the reference, and as long as the asset has been created before trying to execute the blueprint everything will work as intended.
Referencing FMOD assets directly in blueprint nodes as you were initially definitely works as long as the FMODStudio module startup has created the assets before the blueprint is loaded.
Looking at your log again, it appears that the UE4 streaming system is precaching the assets from your PAK file before the FMODStudio module is initialized, thus triggering the “Loading blueprints before plugin load” issue which Cameron pointed out previously. We have never encountered this issue arising this way before and so far I’ve been unable to reproduce it directly so I’m just going on your log for the time being. I’ll continue to work on reproducing the issue and if we can figure it out we can review our options for fixing it.
In the meantime the workaround you’ve found is probably the best solution. One alternative you might want to try is disabling the UE4 async loading thread (in Project Settings / Engine / Streaming). I’m not certain but I suspect that would also prevent the issue occurring.