-
Stack Overrun in expression
I wrote a script that copies certain layers into a new composition. It then generates expressions for the new layers properties (transform properties, puppet points and time remap) dynamically linking them to the old layers.
The script works fine and returns no errors. However after running it “After Effects” gives me the following error for some of the newly created expressions:
“After Effects warning: stack overrun
expression disabled
error occurred at line 0”It will then disable those expressions. Again, just some of them. Now, the expression itself is fine because I can just go into the new composition and click on the “=” to reenable them and I get no error.
The strange thing is, though, that if I run this same script with the caps lock I don’t get any error at all. (Also, strangely, at the end of the script it gives an alert to let you know how many layers were duplicated, and if I turn off this alert I don’t get an error either.)
This script is for a client so I can’t tell them just make sure you have your caps lock on. Does anybody know what might be causing this?