I just tested again in Reaper.
I put debug breakpoints in the plugin constructor, SerializeState, and in the constructor of a plugin class member.
Sure enough the Plugin constructor was first followed by SerializeState then class member constructor.
The problem was originally that I had the class member data being referenced by SerializeState before the constructor where data was initialised i.e undefined pointers, etc.
|