unable to execute script at line 5. Expected: ;
Hi Everyone,
I'm building a custom CEP panel for Adobe After Effects 2025 (v25.3) and facing an issue when executing .jsx scripts via csInterface.evalScript().
On the first run after launching After Effects, when I click a button that triggers a script from the Scripts/ folder, I get the following error: Unable to execute script at line 5. Expected: ;
Strangely, after dismissing the error popup, the script still runs correctly. And on all subsequent clicks (until AE is restarted), the script executes with no error.
Why does this error only occur on the first execution after launching After Effects?
