Just what the title says. I've got some code to add Chroma Keyer to some media, which works perfectly:
var plugInName = "Chroma Keyer"
var fx = vegas.VideoFX;
var plugIn = fx.GetChildByName(plugInName);
var effect = new Effect(plugIn);
videoEvent.Effects.Add(effect);
However, if I happen to have effect.Preset = "Blue Screen" for example, I get the error:
Despite it working perfectly if I don't try to set the Preset through code. Yes, I do have a working Preset with the name "Blue Screen" within my Chroma Keyer presets, so it really leaves me at a loss. Does anyone have any idea what's going on? I can't find any resources on the matter online.
I am using VEGAS Pro 20.0