Effect Crashes When Applying to Layer
Copy link to clipboard
Copied
A weird and annoying problem I'm having with my new plugin.
I've been testing with a saved project for a while and everything is working great. However I thought I'd better test my sequence data initialisation and so created a new project, and applied my plugin. Instant crash (and not the good type where it saves a copy of your project).
At first I thought it was something to do with sequence data (PF_Cmd_SEQUENCE_SETUP) but I've since disabled this and any reliance on sequence data and the plugin still crashes immediately.
Debug is no good, because it's happening not within my plugin but after it's exited back to AE.
It's happening before it gets to SMART PRE-RENDER and SMART RENDER.
It's odd that it only happens when you apply a new instance of the effect. It's also odd that it happens in CS6, but not CC2015.
Anyone had this behaviour before? If so, any ideas why it's crashing with a new instance, but not with an existing one?
Cheers!
Copy link to clipboard
Copied
Hi Christian,
I would have bet on sequence setup too.
What I say probably won't be a great help, but if it happens before Smart_render, then you have only Global Setup and ParamsSetup left... Or UI may be (which could be the difference between CS6 and CC2015)?
Try disabling all the calls and re-enable them one by one, it should give you some clues. Sometimes, bugs hide in the most simple tasks...
Cheers,
François
Copy link to clipboard
Copied
Hi François,
Thanks. It turns out it was ParamsSetup. Not sure why as IDs, disk IDs, etc. all matched but I'm re-ordering and re-organising it all anyway, which has fixed the problem.
C

