Skip to main content
Known Participant
October 12, 2022

AE Beta Crash with evalScript

  • October 12, 2022
  • 2 replies
  • 437 views

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:

 

 

 

 

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

This topic has been closed for replies.

2 replies

Cameron JAuthor
Known Participant
October 12, 2022

Great, thanks!

JohnColombo17100380
Community Manager
Community Manager
October 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