Actually, just to make sure I wasn't entirely going crazy, I did a few more tests and could consistently reproduce the following behavior:
1. build the 32-bit version of the Juce audio plugin demo + run in Cubase 22.214.171.1241 32-bit
--> automation is written, but NOT read
2. change the build settings in Introjucer to 64-bit and build the 64-bit version of the Juce audio plugin demo + run in Cubase 126.96.36.1991 64-bit
--> automation is written, AND read as well
I could reproduce the same behavior with the beta plugin you sent me Salvator: reading back automation doesn't work in 32-bit, but does work in 64-bit version.
So, it appears there is something wrong with the combination Juce-based plugins and Cubase 5 for the 32-bit version, but not for the 64-bit version.
Two more things:
- automation writing and reading does work fine with Steinberg's plugins in both Cubase 5 32-bit and 64-bit (no idea if these are special or anything)
- this is NOT due to any recent changes in Juce, as an old build of a Juce-based plugin from July 2013 exhibits the same behavior
PS: all of this tested on Win7 64-bit latest updates, with freshly pulled Juce repo