Skip to main content
Known Participant
Oct 12, 2022 2:02 PM UTC
Needs More Info

AE Beta Crash with evalScript

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Cameron JAuthor
Known Participant
Oct 12, 2022 4:18 PM UTC

Great, thanks!

Translate
JohnColombo17100380
Community Manager
Community Manager
Oct 12, 2022 3:59 PM UTC

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  

Translate