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

New AE 2025 feature just doesn't work...

Community Beginner ,
Oct 17, 2024 Oct 17, 2024

Copy link to clipboard

Copied

Hi, I am really excited about the new feature that introduces expressions in the text properties - that seems like a true gamechanger in my workflow. I'm talking about the things that are described right here:

Edit text styles and text properties using expression controls. (adobe.com)

 

Unfortunately it just doesn't work. AE displays an error when trying to apply the simplest feature like setting the new font trough the expression, like this:

text.sourceText.style.setFont("Arial-BoldMT");

 

When I finish editing the expression (unclick) the error says:

After Effects error: A dynamic_cast has failed.

 

I also would like to mention that it worked perfectly even in much more complex expressions in beta release. But using beta version of AE is not a solution for me.

Bug Started
TOPICS
Crash , Expressions

Views

2.8K

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 2 Pinned Replies

Adobe Employee , Oct 22, 2024 Oct 22, 2024

Hi @Piotr382425020q7e & @default53dysdjnmuj3,

Thank you for reporting this issue. We've been able to reproduce the error and now have a ticket open for investigation.

 

Thanks again,

- John, After Effects Engineering Team 

Status Investigating

Votes

Translate

Translate
Adobe Employee , Nov 12, 2024 Nov 12, 2024

There is a fix available now in the AE Beta builds. The fix will also be in the non-Beta release 25.1 when it ships. 

Status Started

Votes

Translate

Translate
17 Comments
Adobe Employee ,
Oct 17, 2024 Oct 17, 2024

Copy link to clipboard

Copied

The type of quotes matter, so try this:

 

text.sourceText.style.setFont(`Arial-BoldMT`);

Status Needs More Info

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 17, 2024 Oct 17, 2024

Copy link to clipboard

Copied

Actually 

text.sourceText.style.setFont("Arial-BoldMT");

this worked fine for me in 25.0.  

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 17, 2024 Oct 17, 2024

Copy link to clipboard

Copied

Can you share your project with me? 

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 18, 2024 Oct 18, 2024

Copy link to clipboard

Copied

@jenkmeister 

Okay, so basically it indeed workes a on a blank project, however when I apply this into the project that was converted from 2024 it crashes as above. It doesn't matter what type of quotes I use " or '. It doesn't work either way.

 

For a reminder: it worked perfectly in the beta version.

Where can I upload the file?

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 18, 2024 Oct 18, 2024

Copy link to clipboard

Copied

Upload the file wherever you'd like (onedrive, google drive, adobe cc storage, etc.) and share a link. There unfortunatley isn't a place in these forums to update into. 

Votes

Translate

Translate

Report

Report
New Here ,
Oct 22, 2024 Oct 22, 2024

Copy link to clipboard

Copied

I'm getting this same error. When I click the warning icon on the layer, it says 'internal error'. Sometimes the dynamic cast popup won't go away and I have to force quit the file.Screenshot 2024-10-22 at 09.33.23.pngScreenshot 2024-10-22 at 09.33.47.png

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 22, 2024 Oct 22, 2024

Copy link to clipboard

Copied

Hi @Piotr382425020q7e & @default53dysdjnmuj3,

Thank you for reporting this issue. We've been able to reproduce the error and now have a ticket open for investigation.

 

Thanks again,

- John, After Effects Engineering Team 

Status Investigating

Votes

Translate

Translate

Report

Report
New Here ,
Oct 22, 2024 Oct 22, 2024

Copy link to clipboard

Copied

I've been having a similar issue. Most of my Essential Graphics templates are broken after the update. The text controls are broken in Premiere, and I'm experiencing the "dynamic_cast has failed" popups constantly in After Effects. 

 

However, I'm noticing that all the errors I'm getting are from Text layers that link to a master text layer using the "getStyleAt()" function. I'm guessing the issue has something to do with the Text layers being from the older version before some of the newer expressions were added. 

 

A solution that seems to work for me is to create new Text layers and redo/copy the expressions. While I'd like to not have to go through all of my templates and replace all the layers, I'm at least able to use my templates again. 

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

Same here, a bunch of my projects experience this issue.

Votes

Translate

Translate

Report

Report
Engaged ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

Don't understand why adobe won't keep the old expression system in the background for old projects, so they won't break?

I hope they understand we are making a living here and servicing clients! They know some templates are being used for years and years. Such a shame 😞

Votes

Translate

Translate

Report

Report
New Here ,
Oct 28, 2024 Oct 28, 2024

Copy link to clipboard

Copied

I am facing the same issues: I can't work on one of my projects as the "After Effects error: A dynamic_cast has failed."-popup doesn't go away.

Are there any solutions yet or at least a work-around?

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 28, 2024 Oct 28, 2024

Copy link to clipboard

Copied

A fix for the issue was checked in earlier today so that should be in a beta build in a few days from now. We don't yet have a workaround for the current 25.0.1 AE release. 

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 29, 2024 Oct 29, 2024

Copy link to clipboard

Copied

Hey there,  I just experienced this serious bug today when opening up an existing project that uses an expression that changes font style.      (  style.setFont  )

sure hope a fix is available soon

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 12, 2024 Nov 12, 2024

Copy link to clipboard

Copied

Im having the same problem. For my file an old text layer (one created in a converted file) was the problem. When i made a new one with After Effects 25 it worked.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Nov 12, 2024 Nov 12, 2024

Copy link to clipboard

Copied

There is a fix available now in the AE Beta builds. The fix will also be in the non-Beta release 25.1 when it ships. 

Status Started

Votes

Translate

Translate

Report

Report
New Here ,
Dec 03, 2024 Dec 03, 2024

Copy link to clipboard

Copied

I have the same problem. would it be fixed? when? I tried to edit an old project

cheni_770_0-1733227725849.png

 

 

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Dec 03, 2024 Dec 03, 2024

Copy link to clipboard

Copied

LATEST

25.1 has begun to rollout to customers around the world and should be available to all customers in the next 48 hours. Please look for the update in Creative Cloud Desktop. 

Votes

Translate

Translate

Report

Report