I recently had a ticket filed for my new plugin Bang where the user got the following errors when he started AE, just after installing the plugin:
After Effects error: internal verification failure, sorry! {Idle Hook already registered for this
plugin} ( 5027 :: 52 )
After Effects: AEGP Plugin AEGP Internal: Error initialising qpBangUtil! ( 5027 :: 12 )
The first error generated by AE, the second an error returned by my AEGP.
The upshot was that he couldn't use Bang as it relies on the IdleHook of the AEGP to intercept a new instance of the plugin, which then adds the remaining module plugins to the layer.
It took some investigation, mostly on his part, to discover that there was a conflict with Roybyte's Comp Screenshot plugin, itself an AEGP. When he removed the Comp Screenshot aex from his Plugins folder Bang worked normally with no startup errors.
I thought it could stem from us both using the same value in the PiPL (16000), which I didn't think/know to change. However I've tried changing this value (and the subsequent plugins within the PiPL and I still get the errors on startup.
To be clear I'm talking about the following value:
// BANG UTILS AEGP
resource 'PiPL' (16000) {
{ /* array properties: 7 elements */
/* [1] */
Kind {
AEGP
},
...
AFAIK there is nothing in the documentation about how these numbers should be set, or even if they should be changed.
I also thought it could be the AEGP_PluginID value used to register the idle hook amongst other things. It's set to 0L in my code, which seems to be the only value that works (other values, or using the passed aegp_plugin_id from the EntryPoint return the error
After Effects error: internal verification failure, sorry! {Plugin ID is invalid}
( 5027 :: 52 )
on startup.
I'm sure it's something obvious, but I don't know what!
Any ideas please?
Thanks, Christian