Crash when using Layer parameter with AE SDK API
Hi everyone,
I contact you to talk about a problem we encountered recently with After effects plugins. We are creating a plugin that uses the input layer color as UV coordinates and maps a texture given as parameter.
we noticed that when the parameter texture is a little bigger than the input layer, we start having some rare but random crashes.
- Issue - Crash
- Adobe After Effects version number: After Effects 24.6.4
- Operating system: Windows 10-11
- Steps to reproduce
We created a minimal comp and minimum code to reproduce the problem.
We use After Effects 24.6.4 with 50Gb as disk cache and 20Gb as memory cache.
Repeating the scene preview (space key)would provoc a crash.
If it does not crash, delete the caches and redo some preview. It should crash now.
you can download the following archive
it contains
-the video of the reproduction of the crash
-the aep file olmuvmapmini.aep to reproduce the crash
-the plugin source file (to compile) if you want to dive in the problem
-the plugin binary to reproduce the problem
-the aep file olmuvmapbig.aep, same as olmuvmapmini.aep but bigger
on a side node, we used reduced the comp from a production comp, to strip it down to a very small one. you an see that the strip down version is 45mb (olmuvmapbig.aep) and the build from scratch one id 238 kb (olmuvmapmini.aep). i wonder why this size difference too...
I hope we are just using the API the wrong way.
Regards.
