Is it possible to save and use state of VST3 nodes?

Yes this is still a known issue that plugdata doesn’t tell us that it’s internal state changed. It would be nice if they would add support for [3.1.0] Dirty State, Open Editor Request and UI Group Editing Support - VST 3 Developer Portal
In the meantime we could either
read the plugin state and write it back to the channel on dispose/stopping the patch. We used this approach in an early state of the development, but it always felt off. It could also be problematic if the channel is user controlled, since no one would expect the channel to get triggered on dispose where execution order is usually rather unclear.
Another option would be a new API on our end to allow the node to take part in the saving process of the VL document. It might also feel weired though because the document won’t be marked as dirty until one presses save.
Third option would be to periodically ask the plugin for its state - but while developing was a bit afraid of that option because it must be done on the main thread.

How does it work for other plugins you might ask? Well they all usually send messages when you start operating on one of their parameters. So does plugdata btw. when you add automation parameters and modify them you’ll also see the dirty state of vvvv reacting.

1 Like