AEUX
AEUX copied to clipboard
Internal Error: Stack overrun Error on line: 0
I can't import a Figma page to AE. Got this error:
Internal Error: Stack overrun
Error on line: 0
I'm running into the same, used to work perfectly but suddenly stopped working.
Facing the same issue. Any workarounds yet?
Update on my issue: fixed it by creating new, clean project and importing from Figma there. In my case, this error appears on huge .aep projects with many files imported. I guess there is some point on quantity of imported files, where After Effects just overflows and plugins stop working properly.
Try to clean your project in AE or frames in Figma
I have played with it a little bit as I was getting the same error and here is a breakdown of the issue as best as I can detect:
- The way that AEUX places objects in the 'correct' position on an AE comp is by determining where a Figma layer sits relative to its most parent frame. It basically assumes the parent frame is your "composition size".
- Let's say you have a layer within a parent frame within a super parent frame on Figma. AEUX does not (as far as I can see so far) have the ability to make each composition up the hierarchy in aftereffects the same size as the figma frame and correctly change the position of that comp so it sits in the correct spot.
- Instead, it takes a shortcut. AEUX simply recognizes where that layer sits in relation to your outermost frame and makes every single precomp up the hierarchy the same dimensions as that.
- What that means is, if you have a design that is 2000x2000 pixels and there are lots of little frames inside of it for grouping svgs and components etc and each frame sits inside of some other parent frame so the whole design is very organized, each of those frames is a 2000x2000 pixel composition that AE is trying to now build when you use AEUX.
- This seems to be what is causing the stack to overrun.
The solutions that are working for my specific use case is to go into my design and remove any unnecessary frames (crtl + bspce for batch ungrouping), then import sections one at a time, each with as little hierarchy as possible. Where possible, try to place as many layers on the same frame if you don't need to animate them separately in AE. Or you can split them out of your main frame so you have groups of much smaller comps.
The most important factor seems to be the outermost frame. If you have a website design that is 2000 pixels wide and are running into this issue while trying to import some component, try taking that component out of the context of the larger site design and import it in by itself where it has no parent frame, otherwise each frame inside of it will be imported as a comp the same size as your 2000px design.
@sculli-net thanks for the thoughtful write up. Unfortunately the project isn’t really maintained anymore. I was the only dev on this at Google and I’m no longer with them. It is open source so you are welcome to fork it and work from there, but Overlord 2 is where my energy is going for Figma and fixing all of these old issues.