Blueprint could not be loaded because it derives from an invalid class.

Yep, I also encountered the same issue before.

While not being completely sure, I think this happens when certain conditions meet and the editor is launched before the C++ files could be compiled properly. To put it simply, I think it sometimes happens when opening the project from the Epic Launcher or opening the .uproject file from the File Explorer, while the standard approach would be building the project from Visual Studio. But like I said, I couldn’t make a throughout investigation because I wasn’t able to replicate the issue afterwards.

You can fix this by first deleting the .vs, Saved, Intermediate, Binaries folders and the .sln file, and then regenerating the project files by right clicking on the .uproject file, more options, and hitting the regenerate the project files option. I don’t really remember but you might also wanna replace your asset (that’s under the Contents folder) with the older version if you have a backup of your project, don’t really think that would be necessary though.

Hope this can help :blush:


Disclaimer:
Make sure to have a backup of your project before manually adjusting the project files!!!