Issue when running multiple instances (AUv3)

Hello,

I am developing an AUv3 plugin (a kind of converter from audio to MIDI) using the host (AUM). The following talks about a crucial difference between the debug and the release in iOS AUv3.

——

8.0.14 & 8.0.15

The debug build works normally.

The issue occurs in the release build. When multiple instances are launched, it takes time (a delay) for the plugins to react (or start processing). In some cases, certain instances do not react at all. On the other hand, it works fine even in the release build if it is a single instance.

——

8.0.6

Both the debug and release versions are working perfectly without any issues when running single or multiple.

thanks

Hello,

I’ve figured out that this problem comes from a simple deficiency in my coding, concretely speaking:

It turns out that it was necessary to initialize variables even where it seems unneeded.

For Apple’s TestFlight, the above adjustment has worked fine in my case even using JUCE 8.0.15.

Best Regards

cf. Best practice to track down a release-build-only bug under Visual Studio