AU automations permanently disabled in Ableton Live

While porting an old plugin from JUCE 4.0.1 to JUCE 7.0.5, we encountered an issue, where Ableton Live (11 and 12 tested) disables automations when loading a project, that references the old plugin version with some automation, after installing the new version. It is not the usual disabled automation, with the re-enable button lighting up, but it is permanently disabled, with no way to re-enable it. Its fine with VST, only AU seems to trigger the problem. No changes to the plugin, other than adapting to the new JUCE version.

We started looking into the difference between the JUCE 4 and 7 AU wrapper, but its quite a lot. Does anyone have an idea, why this might be happening, and how to fix it?

My guess is that the IDs for the parameters have changed, try enabling JUCE_FORCE_USE_LEGACY_PARAM_IDS in the juce_audio_plugin_client module

From the description

Enable this if you want to force JUCE to use a continuous parameter index to identify a parameter in a DAW (this was the default in old versions of JUCE). This index is usually used by the DAW to save automation data and enabling this may mess up user’s DAW projects.

That solved it, thanks a lot!

It was working fine in Logic Pro X, so somehow Logic must be able to deal with the changed IDs.

I seem to recall that Logic uses the index of the parameter, not its ID…?

1 Like