Hi,
I've been writing an effects plugin for After Effects CS3, and encountered an assertion error saying "R6025: pure virtual function".
I did some research on this, but I have no idea why this is happening. Is there any way I can avoid this problem?
What I am doing is the following:
1. Create a temporal layer by calling RenderSuite2()->AEGP_RenderAndCheckoutFrame(renderOption, NULL, NULL, &temp)
2. Copy the pixels of the temporal layer to the output layer by PF_COPY(temp, output, NULL, NULL).
The assertion occurs when PF_COPY is called.
The same assertion occurs when I try to copy the pixels via Iterate8Suite1()->iterate(),
but is OK when I copy pixel by pixel in a normal for-loop.
The thing that's giving me headaches is that this assertion error does not always happen.
I m repeating creation of temporary layers and iterations process some times. I tried to add another temporary layer and then it begun to crash.
I suspect some kind of memory issue.
I would like to know the cause of this assertion, and the way to avoid this (if any).
Thank you.