google / AEUX

Editable After Effects layers from Sketch artboards
Apache License 2.0
502 stars 55 forks source link

Text layers causing error: Cannot unwrap symbol #185

Open sammularczyk opened 10 months ago

sammularczyk commented 10 months ago

Describe the bug Exporting certain text layers results in an error and AEUX silently failing.

Text boxes all seem completely normal. They have no borders. Removed all styles. Checked with old both old and new Figma text rendering engine. Something must be unsupported, but we can't determine what the difference is.

Tried changing font to identical size, line height, fill and typeface across the entire frame, no dice.

To Reproduce Steps to reproduce the behavior:

  1. Export a frame containing text to AEUX

Expected behavior AEUX exports as normal

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Console log:

handled promise rejection: Error: in postMessage: Cannot unwrap symbol
JTCHE commented 6 months ago

bump ! ecountering the same issue

sammularczyk commented 5 months ago

A workaround for exporting editable text until this gets fixed:

  1. Select frame
  2. Duplicate
  3. Run plugin "Filter Text Layers" on first frame to select all text
  4. Delete
  5. Send first frame to AE with AEUX
  6. Select second frame
  7. Run plugin "Filter Text Layers" to select all text
  8. Group text layers, then delete all other layers in frame
  9. Select frame, then under Export in sidebar, click +
  10. Select SVG, then go to the ... menu and untick "Outline Text"
  11. Export as SVG, then open in Illustrator
  12. Send to AE using Overlord, or import into AE as Illustrator file
justinspencer commented 5 months ago

Same thing is happening to me with any text layer when exporting from Figma.

Screenshot 2024-01-31 at 4 21 43 pm

Only way around it is to outline text.

Figma: v116.15.15 Mac OS: Sonoma v14.2.1

dmargart commented 3 months ago

Hello, everyone!

So there is workaround I found, not really convinient when you have a lot of text layers, but text layers will remain text not shape, which is better in many cases.

Copy text layer (ctrl+c). Delete it (now or later). Press "T" for text tool. Paste the text (ctrl+V). Place text layer in place. So it means you should by hand retype every text layer. Not just ctrl c ctrl v. But trough "T" (text tool). Eliminates the error...

Now export will work as usual. Chears

tr1ckish commented 2 months ago

Yo people out here! I faced the same issue today and spent 5 hours branstorming how to solve it.

SOLUTION: Create text styles and make sure to assign them to all text layers. I have no idea how, but it exports everything perfectly retaining all text editable in AE! Hope it helps 🙏

photo_2024-04-22_22-23-39

nikitarioo commented 2 months ago

Yo people out here! I faced the same issue today and spent 5 hours branstorming how to solve it.

SOLUTION: Create text styles and make sure to assign them to all text layers. I have no idea how, but it exports everything perfectly retaining all text editable in AE! Hope it helps 🙏

photo_2024-04-22_22-23-39

THANK YOU!

pvlachou commented 1 week ago

I ran into general issues exporting text into AE from Figma. The layer would be visible in AE and the characters also present in the layer name and yet it would look like an empty null on the AE canvas. I eventually discovered that the vertical trim options in Figma were the issue. Once I changed the vertical trim from "cap height to baseline" to "standard", the issue was completely resolved.