Delaying a bang into a restore function to a mcs.vst~ object throws an error
Ive had this weird problem thats been a thing in my patch for 4 years at this point and was not sure how to fix it. Ive been going through fixing all the little things before production and I am able to replicate it as a bug.
I have a [loadbang] into a [del 1000] ms to a message box that [restore ./resources/data/thesnapshop.maxsnap] triggering the vst to load the preset [mcs.vst~ 25 6 ./resources/etc...] when the project is loaded.
If I trigger the restore message box manually, or with a button feeding into it, it works fine. when I put a [del xxx] object between the button and message to delay the bang, it always throws a fail to read snapshot error. I'm assuming this is not how thats suppose to work?
The current work around Ive found is to use patter as an intermediate. I can successfully delay recalling the initial loading of a preset that triggers an object to send the restore command when it it gets recalled through a patter of a umenu.
[delay] puts the message to high priority thread (if present),
you might want to put a [defer] behind it.