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.
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.