ModularSynth Cook Failure

UE4.17.1

Windows Cook fails when ModularSynth component added to an actor.

Reproduce:

  1. Create an Empty Blueprint Project.
  2. Enable Plugins; “Sound Utitlities” and “Synthesis”.
  3. Add an empty Actor.
  4. Convert empty Actor to Blueprint.
  5. Add ModularSynth component to empty Actor BP.
  6. Windows Cook.

Hello Graysan,

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Thanks!

Hey there, thanks for the heads up. The fix is as follows:

Basically, during a package, OnRegister is called but there is no audio device to query the audio device’s sample rate. This code is used during runtime to init the synth component but is not needed during packaging.

Checking in a fix for 4.17.2 hotfix and for 4.18.

Issue appears to return in 4.19

Yep, still an issue in 4.19, frustrating.

I am still getting this error in 4.21. Is there any way to package a bp project with the modular synth?

I am still getting this error in 4.21. Is there any way to package a bp project with the modular synth?