I'm failing to cast the widget component to a widget


스크린샷 2023-10-13 173140
There’s definitely only one RecipeWidget. I’ve tried restarting the project and even rebooting my laptop. I keep trying, but the casting fails. What could be the problem??

I just tried exactly this, and it works.

Can you see your widget?

2 Likes

Do you ever change the widget class dynamically?

image

1 Like

I created a new actor called Recipe2 and it worked well! There seems to be an issue with the Recipe blueprint.

1 Like

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