Widget Compile Error when opened

Greetings all,
I’m having an issue with my project. When I open it the variables inside my widgets say they can’t compile but once compiled do fine. Now I know that this issue is on the hub in other places but they linked their problems to casting issues, when I remove all the casts it simply doesn’t work. It can’t find the buttons or images that are marked as variables within the widget blueprint. any suggestions are greatly appreciated.

Thanks.

I was able to “fix” this problem by migrating all my assets and even levels to a new project. so far haven’t had this problem pop up again. I don’t know if it’s a bug or not but this seemed to work.