Slider updates from Host

Hello all!
i am compiling an au plugin and i face the following problem :
the slider values change normally and everything gets updated as supposed. But when i save the project in the Host and reload it, the slider values in the plugin are the default ones as set in the filter’s constructor. Here i should mention that i do not normalize it to (0-1) range in setParameter() - getParameter(). I tried that also but nothing changed… If anyone has any idea it would be nice!


I’m not 100% sure…

Check out the plug-in demo code:


The host will call getStateInformation, and this is where you want to provide the host with a block of data. When the host wants to restore the plug-in state then it will call setStateInformation, and this is where the blob that was saved will be handed back to you for reading etc.