Errors when trying to create/add a Pseudo Effect
This is my first time working with pseudo effects and I just can't get this one working and I can't seem to figure out why. Hoping someone who knows them a bit better could give me a helping hand.
The XML for the effect I'm trying to add looks like this: (Substituted ^'s for <'s because those break the post and cause text to disappear)
and I'm trying to insert it into AE using the ExtendScript Toolkit via this like of code:
When I run the script in ExtendScript I've gotten two different errors, I can't tell what I'm changing that makes either appear instead of the other. The errors are "After Effects error: Can not add a property with the name "Pseudo/Gameshow_Controls_3Lights" to this PropertyGroup" and "null is not an object".
Anyone have any idea what I'm doing wrong and how to fix this? Any replies are much appreciated! Thanks!
I also had this problem when trying to add it using the matchname but when i used the display name, it worked.
My Envato portfolio.