Hi all.
I've recently taken over a codebase for an AEGP plugin. I am also new to AE in general. I've written a bunch of plugins for 3DSMAX over the years so I have some knowledge about how DLLs work and so forth but this one stumps me.
When I first arrived at this new gig, the debugging process went something like, "compile the stuff, then copy the AEX and the PDB to Support Files\Plugins, then copy other DLLs to the Support Files directory." I thought that was error prone and tedious at the very least so I set up symlinks (using mklink in a batch file) so that I could iterate on the plugins, leave them in the output folders and then AE (both CS6 and CC) would be able to automatically have the most recent build. This worked great. For two weeks.
Then a week went by where I didn't use AE or work on the plugin. Who knows what all changed in that time; a lot no doubt since I work on a big team but the plugin doesn't rely on any "external" code that might be getting changed. However, the plugin no longer loads.
As in, I open Process Monitor and the AEX file is not even touched. AE appears to be iterating the directory but then choosing not to even look at my plugin.
I undid the symlinks and manually copied all of the files. Same behavior. I copied the plugin from someone else and it loads but gives one of those errors that makes no sense; I haven't looked at it further because it's enough to know that there's something in my build that's just making the plugin get skipped.
I looked at the files (his and mine) in depends.exe and they both have an entry point named the same (EntryPointFunc per the sample plugins). I even rolled my code back to the last point in time when I know that it worked and got the same behavior.
I looked, just to be sure, and my VirtualStore folder is empty. At least, it appears to be. I'm not really sure how that works but let's just say I'm really bummed that there's no way to configure the plugin folder inside of AE.
I'm sort of at a complete loss as to how to diagnose this. Do any of you pros who've been at this a while have any tips for sorting this out?
While I'm at it, I have six folders in %APPDATA%\Adobe with "After Effects" in their names; all but one have some "garbage" unicode character prefixing the text "After Effects" and inside of each of them is a folder with a version number (i.e. 11.0 or 12.0) and inside all of the garbage-looking folders' version folders is a file called AfterEffects##.ini, where ## matches the version. (These folder names are not confidence inspiring.)
I just noticed the Plugin Loading.log in %APPDATA%\After Effects\11.0 and it has no mention of my plugin. Again- my plugin had been loading just fine. It just ... stopped and I'm not sure how to diagnose it from here.
TIA,
-tom!