Effect Crash When creating shapes from text
Hello, everyone. I'm new to AE plug-in development and stumbled upon a problem, so I thought I'd ask.
I have an Effect Plug-In which I apply to a Text Layer, and that works fine. However when I click on "Create Shapes from Text", the Shape Layer gets created with the effect applied, but no shapes in it and I get this error:
After Effects error : internal verification failure, sorry! {child not found in parent} ( 29 :: 0 )
I'm guessing the problem is here (executed on PF_Cmd_UPDATE_PARAMS_UI):
AEGP_EffectRefH meH = NULL;
AEGP_StreamRefH paramStreamH = NULL;
ERR(suites.PFInterfaceSuite1()->AEGP_GetNewEffectForEffect(NULL, in_data->effect_ref, &meH));
ERR(suites.StreamSuite2()->AEGP_GetNewEffectStreamByIndex(NULL, meH, parameterName, ¶mStreamH));
ERR(suites.DynamicStreamSuite2()->AEGP_SetDynamicStreamFlag(paramStreamH, AEGP_DynStreamFlag_HIDDEN, FALSE, shouldHide));
if (paramStreamH)
{
ERR2(suites.StreamSuite2()->AEGP_DisposeStream(paramStreamH));
}
if (meH)
{
ERR2(suites.EffectSuite2()->AEGP_DisposeEffect(meH));
}
This code normally does what it's supposed to, except in this scenario.
I would appreciate it if someone can give me a clue as to what I am doing wrong. ![]()
