I've been trying to get to the bottom of a very odd problem. This shows up with Juce tips over the last month or so, but doesn't appear to show up in earlier versions.
I create a session in Cubase 7 (Mac/64-bit), load a plugin and change some parameters. Then I save the session. When I restore the session, the plugin is in a default state--those saved values haven't been loaded. But here's what makes it interesting--using the same build of the plugin, I try the same thing in Reaper and Ableton. Everything works fine and the session is fully restored. I have testers tell me the same thing with other programs I don't have. Cubase is alone in this strange behavior.
This doesn't happen with a plugin build using the Juce of 2-3 months ago (I'm really sorry I don't have exact tip dates). Same version of Cubase 7 restores all values. Something has changed.
I've been driving this through the debugger, and I can see that Cubase doesn't call setStateInformation with any parameter chunk (Reaper and Ableton do). Deeper into Cubase, this is based on the effSetChunk opcode. That opcode doesn't appear to pass through the dispatcher. I really can't see anything obvious in the Juce code, but there does appear to be something going on that's unique to Cubase (don't get me started on Cubase). Still, older versions of Juce work.
Anybody seen this one? Any ideas?