Plugin state of VST plugin is not saved along with Live project


While testing my plugin with Ableton Live I have detected that the VST plugin state is not saved along with the project. But when I close and reopen the plugin window, I can see that the current state is captured back.

The AU version works fine on Ableton Live and Logic. And also successful on Reaper with VST and AU versions.

…working with latest Juce version on Mac OS 10.13.1

Any idea why the plugin VST version on Ableton Live have problems saving the plugin state along with the project file ?