I'm building an instrument that hides certain parts of the GUI in the on persistence_changed. When loading the instrument in Kontakt 6 or 7 it all works flawlessly.
When loading a snapshot through Maschine CP in Kontakt 7, both the persistence_changed and the _pgs_changed callbacks are not executed. on note also doesn't do anything. The loading stops at the end of the init callback, leaving the instrument with a broken GUI and no sound.
What's the issue here?
Even if I reduce the script to this:
on init
end on
on note
message("note")
end on
Nothing happens when a note is pressed.