Hello guys, I used the audio visualization plugin in my game. All works fine in editor but when I package the game the plugin doesn’t work . Do someone of you solved this problem? Thanks
If you have access to the source code on GitHub, your answer is probably located here.
Functions like CalculateFrequencySpectrum() and GetAmplitude() are wrapped between #if WITH_EDITORONLY_DATA statements. Outside of them, these functions trigger UE_LOG statements such as:
UE_LOG(LogSoundVisualization, Warning, TEXT("Get Amplitude does not work for cooked builds yet.")); UE_LOG(LogSoundVisualization, Warning, TEXT("Calculate Frequency Spectrum does not work for cooked builds yet."));
So check out your logs to see if those statements are there. I don’t know why cooked builds have anything to do with these sound functions. Maybe an engine developer can chime in on the reasons.