if you add me as a beta tester I'll put in the time and effort to look into this more.
It happens very often. I have a hunch that it has something to do with fiddling with the track hosting the plugin when something critical is going on via audio streaming ( in real-time ) or maybe even when I dragged the track ( in Cubase ) to reposition it.
Another wild-guess hunch ( from personal experience ) : maybe its to do with parameter-change feedback loops as discussed in this example for JUCE ( but issue could occur with other C++ frameworks too )
https://docs.juce.com/master/tutorial_slider_values.html