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.