Hello.
I have a strange and absurd phenomenon on UE5.
I created C++ class in Unreal Editor, then I edited it in Visual Studio. As far as I planned to try to make animated UMG thing on C++, I reparented User Widget Blueprint to my C++ class. And after my several tests, Unreal Editor crashed. But IDE was opened. And I restarted UE5 (with automatically sending a report) And then… The biggest programming absurdity I have ever encountered.
So let me show you some screenshots of my problem. Just look at the screenshot from Visual Studio.
Full version of this screenshot:
And let’s have a look at the situation from Unreal Editor.
Full version of this screenshot:
After restarting the project and trying to open User Widget Blueprint, I get such error message:
Widget Blueprint could not be loaded because it derives from an invalid class.
Check to make sure the parent class for this blueprint hasn’t been removed!
It’s strange, isn’t it?
Then, note: I’m using Unreal Engine 5.1.1 from Epic Games Launcher and Visual Studio 2022 Community Edition.
And yeah, I know that there are many similar topics and questions on Unreal Engine Forums. But even refreshing VS solution didn’t help me in this problem.
Should you know how to solve that strange and absurd problem, please don’t hesitate to leave your solution or comments about that.
I hope that problem is soluble and this bug could be fixed on next versions of UE5.