Mesh warp bad parameter bug
Exporting from premiere I got an "Unable to create frame" error on an AE linked comp (error code -160962695). The comp was an animation of a PNG graphic with some Mesh warp "glitch" effects.
Tried to render from AE, initially got an error about the memory requirements of the frame while in 32bpc color (error 12804) but after switching to 8bpc I started to get a different error, after that point it was the same error in either 32 or 8pbc.
The final error was a Bad parameter error (error 516) and I discovered that it was the animated Mesh warp effect that caused it. Redid the animation for the effect and that fixed the issue.

Thank you for sharing the project file. I was able to reproduce the problem, both with your project and by replicating the conditions of the bug from scratch.
This is a bug which has existed in the Mesh Warp effect for a long time. At this time we do not plan to fix it, because the conditions of the bug are uncommon and easy to work around. But we will leave this bug in “Under Review” state to allow people to continue to vote on it. If this problem is more common that we assume, we can raise the priority and fix this in a future update.
The problem is a combination of a high-resolution layer and moving the mesh warp points a great distance outside of the bounds of the layer.
In this case, your layer is greater than 8000×5000 pixels, though scaled down to 10%, and one of the mesh points extends quite some distance beyond the layer. Bringing that mesh point in, or using a smaller layer, will avoid the problem.
The composition resolution does have a factor in the problem; when set to Half or lower, the render resolution of the layer changes, which avoids the problem. But at Full resolution, or rendering via the render queue at full resolution, the bad condition is encountered.
3 comments
-
josh ingleby commented
Still experiencing this issue. Glad I quickly arrived at this page to define the problem.
Fixed after precomping the layers and resizing them.If its not planned to be fixed maybe update the error name/details to mention Meshwarp.
thx
-
Mika Kuitunen commented
Hi Tim,
Sent the link via email.
-
Mika Kuitunen commented
Forgot to add system info:
Intel i7-6800K
32GB RAM
Nvidia GTX1070 running 397.64 drivers
Windows 10 64bit