• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

AE Beta Crash with evalScript

Explorer ,
Oct 12, 2022 Oct 12, 2022

Copy link to clipboard

Copied

The latest AE Beta crashes when performing evalScript() from an extension panel simultaneously with certain actions in AE itself.

 

Replication using sample CEP panel from the Adobe-CEP repository:

 

  • Open the AfterEffectsPanel extension in the latest AE Beta
  • Open the panel debugger in chrome: http://localhost:7777/
  • Navigate to the console tab
  • Create a function that calls evalScript:
function fun() {window.__adobe_cep__.evalScript('JSON.stringify(app.project.activeItem.name)', (res) => console.log(res))}
  • Call that function on a regular interval:
setInterval(fun, 500)
  • Console should be outputting comp name every 0.5 seconds
  • Now create a shape layer using the rectangle tool (Q). This is one example of an action that will cause a crash, but there are others.
  • AE Crashes and exits:

    Screen Shot 2022-10-12 at 8.54.07 AM.png

 

 

 

 

This is a huge issue for extension developers, so I hope to get some traction on this before the next AE general release.

Bug Investigating
TOPICS
Crash , Scripting

Views

127

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Pinned Reply

Adobe Employee , Oct 12, 2022 Oct 12, 2022

Hi @Cameron J,

Thanks very much for reporting this issue and for the detailed steps to reproduce the crash. We are also able to reproduce this crash in the latest Beta builds and have opened up a ticket to investigate.

 

Thanks again,

- John, After Effects Engineering Team  

Status Investigating

Votes

Translate

Translate
2 Comments
Adobe Employee ,
Oct 12, 2022 Oct 12, 2022

Copy link to clipboard

Copied

Hi @Cameron J,

Thanks very much for reporting this issue and for the detailed steps to reproduce the crash. We are also able to reproduce this crash in the latest Beta builds and have opened up a ticket to investigate.

 

Thanks again,

- John, After Effects Engineering Team  

Status Investigating

Votes

Translate

Translate

Report

Report
Explorer ,
Oct 12, 2022 Oct 12, 2022

Copy link to clipboard

Copied

LATEST

Great, thanks!

Votes

Translate

Translate

Report

Report