Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Effects error: Unable to call “setValue” #172

Open
Madbtr opened this issue Feb 6, 2023 · 5 comments
Open

After Effects error: Unable to call “setValue” #172

Madbtr opened this issue Feb 6, 2023 · 5 comments

Comments

@Madbtr
Copy link

Madbtr commented Feb 6, 2023

Hello! Thanks for creating this great utility, it really helps with my work.
Describe the bug
Unfortunately, whenever I try to transfer some of my frames from Figma I get this error: Error: After Effects error: Unable to call “setValue” because of parameter 1. Value is undefined. Error on line: 979

I have tried restarting my computer, restarting AE, reinstalling the plugin, detaching instances, and even renaming layers. But it still throws this error.

Expected behavior
Transfer frames and create hierarchy of compositions based on grouping while preserving relationships between different elements.

Screenshots
Screenshot 2023-02-06 at 18 26 00

Desktop (please complete the following information):

  • OS: Mac OS, Ventura 13.1
  • AE 2021 18.4.1 (Build 4)
  • Figma 116.5.18
@polyrenn
Copy link

polyrenn commented Feb 7, 2023

I've been having the exact same issue as well, in my case I found that having layers/rectangles/frames with individual strokes applied breaks the export, I assume no AE support for individual strokes.

Try removing layers with individual strokes and/or using a line instead.

@Madbtr
Copy link
Author

Madbtr commented Feb 8, 2023

@polyrenn Thanks a lot for pointing that out! Really helps to understand this.

So to repeat this bug you must have a shape or a frame, with a custom stroke. For example 0px at the left and bottom and 1px at the top and right sides. Exporting such a frame will cause this error. Hope it will be helpful to others.

@ApolloOverflow
Copy link

Hi, I'm trying to use AEUX but I keep getting the error 
"After Effects error: Unable to call "setValue" because of parameter 1. Value is undefined. Error on line: 979 "
Sadly, in my case, I have no stroke at all in the Frame I want to send to AE. Do you know what can cause this error? 
Could it be due to absolute positioning inside the autolayout? Or maybe a large nesting of autolayout in autolayout? I tried to send all the components of this frame separately - they send fine to AE, but not together (on one frame of the first level, it gives an error).

@polyrenn
Copy link

Hi, I'm trying to use AEUX but I keep getting the error  "After Effects error: Unable to call "setValue" because of parameter 1. Value is undefined. Error on line: 979 " Sadly, in my case, I have no stroke at all in the Frame I want to send to AE. Do you know what can cause this error?  Could it be due to absolute positioning inside the autolayout? Or maybe a large nesting of autolayout in autolayout? I tried to send all the components of this frame separately - they send fine to AE, but not together (on one frame of the first level, it gives an error).

For prototyping, usually always try the simplest possible configuration. It's possible newer Figma features may break the export.
Send your nested frames individually, you may be able to figure out what's causing it to break

@Ramielson-Edgar
Copy link

I've been having the exact same issue as well, in my case I found that having layers/rectangles/frames with individual strokes applied breaks the export, I assume no AE support for individual strokes.

Try removing layers with individual strokes and/or using a line instead.

Thanks, this work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants