It was really hard to catch this one. While working on a script I found that if I add tabs to my script´s gui, After Effects crashes as soon as I close the script´s gui.
Here is a simple test script
function tester(){ var win = new Window("dialog","Tester",undefined); var mainTabPanel = win.add("tabbedpanel", undefined, undefined); var tab1 = mainTabPanel.add("tab",undefined,"TAB 1"); tab1.add("button",undefined,"BUTTON"); var tab2 = mainTabPanel.add("tab",undefined,"TAB 2"); tab2.add("button",undefined,"BUTTON"); //var btn = win.add("button",undefined,"Dummy Button"); win.layout.layout(true); win.show(); } tester();
I know that tabs are the problem beacause if you comment out lines 7 to 11 and uncomment out line 13, run the script and close its window, everything works fine AE does not crash.
One more thing if you run the script without nesting it inside the tester function, the script seems to be worked fine but as soon as quit After Effects the following messages pop up.
Bytheway this only happens on After Effects CC 2015 on PC. I dont know if this happens on MAC.
Would anybody test this please?. So I am sure I am not the only one that is facing this problem. And be sure to report it to adobe.
Thanks