AEUX
AEUX copied to clipboard
"The layers must be inside of a frame" and "Unable to execute script line 1. Unterminated string constant."
When trying to import my frame to After Effects I get an error message that "The layers must be inside of a frame" but also sometimes "Unable to execute script line 1. Unterminated string constant."
I've also gotten the import to work but stops importing everything and leaves the composition plain white!
MacOS Catalina — Version 10.15.7 Figma Desktop App release 90.
The layers must be inside of a frame Alignment of layers in Ae requires that shapes be inside of an artboard/frame (AEUX needs to know how far from the top left corner a layer is). Are you seeing this for shapes that are inside of an artboard?
Unterminated string constant This typically comes from layer names having characters that confuse the way JSON stores things –typically from special characters or punctuation. It is possible to build in catches for these but we need to know what characters are causing the error. Try selecting smaller groups of layers to track down the problematic layer name text.
The layers must be inside of a frame Alignment of layers in Ae requires that shapes be inside of an artboard/frame (AEUX needs to know how far from the top left corner a layer is). Are you seeing this for shapes that are inside of an artboard?
Yea, the layers are inside a artboard/frame but doesn't work anyways :/
Unterminated string constant This typically comes from layer names having characters that confuse the way JSON stores things –typically from special characters or punctuation. It is possible to build in catches for these but we need to know what characters are causing the error. Try selecting smaller groups of layers to track down the problematic layer name text.
Do glyphs also include this?
I'm not looking at your file so I can't really say, but I've been caught before by a layer being within the bounds of a Frame, while not actually being a child of that frame. Its coordinates are within the edges of the frame but the layer itsef is not within the hierarchy of the frame.
Emojis and glyphs should be ok but something might be causing the bug. Quotes ("") within a layer name originally tripped up the system but there might be another problematic character somewhere.
Np man! You can see my file here if you want to look further into it! https://www.figma.com/file/dyfuQOM1Js4GmS8QmplhRH/test-motion?node-id=1%3A9
I have the same error. "Unterminated string constant" ... My testfile consists a vectorized text and a vector layer. It's inside an artboard. Artboard name is "story", filenames are "logo" and "crt" No matter what I try to do, the error is always the same. I even can't export a single file. Is this plugin still alive?
The project is active but is a side project that gets updates as time allows. I’m back on it this week so if you can share your figma file (or something similar that’s also causing problems) I’d be happy to take a look: [email protected].
Indeterminate String Constant is usually related to symbols in layer names. But I would like to check if it’s something else.
@adamplouff I have the same problem. Did you guys fix it somehow last time?
Here's what I would try to make sure you are reducing the complexity of the situation to make sure the base plugin's between apps can talk to each other...
- Make sure you have the latest plugin installed in Figma and AEUX: https://aeux.io/guide/download.html
- Make sure that you have a brand new AEP, and brand new Figma file.
- Make sure the AEUX plugin is open in After Effects
- In your Figma file, make a single frame, draw a single circle in it.
- Select the frame, and send that to AE
If this works, but your specific file or file doesn't, then it means that there is some level of hierarchy, complexity, possibly a weird character in a layer name, or something else going on that is messing things up. Try to isolate the individual pieces of what you are trying to import 1 piece at a time until you find the offending part or problem.