I have searched in the forum and found a lot of conversations on the mentioned topic with Pros/Cons, so I have confused.
I need to store XML parameters per each plugin instance, what’s the right way for different DAWs?
getStateInformation() / setStateInformation() + Uuid ?
Each instance of a plugin already loads and stores its own information via getStateInformation/setStateInformation. You don’t have to do anything special to identify the instance.
Unless you’re talking about writing a host? In that case, the plugins themselves store/load their own state. I’m not familiar with how the individual plugins are identified in order to pass them the correct saved state “chunk”, though. I’m sure others here are.