Cannot Bind UWidgetAnimation (circular problem)

I have a circular problem.

I want to bind this variable in a UserWidget from C++:

UPROPERTY(meta = (BindWidget))
UWidgetAnimation* InAnimation;

If the variable does not exist i have this error:

And If the variable does exist i have this other error:

Any idea?

Thank you so much!!

this does work

UPROPERTY(Transient, meta = (BindWidgetAnim))
UWidgetAnimation* InAnimation;

Source:
https://www.reddit.com/r/unrealengine/comments/ioksh4/how_to_use_uuserwidgetonanimationfinished/?rdt=42864

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.