UEエディタで作ったC++クラスがない。ライブコーディングをすると出るが、また起動するとなくなる。
そういえばプラグインではなくプロジェクトにC++クラスを作ったため、あとで移動させた覚えがある。あれが原因だと思う。
そのC++クラスの子BPは下記のメッセージが出て開けない。
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!
IntermediateとBinaryフォルダを削除し、uprojectファイルの「Generate Visual Studio project files」。起動するとC++クラスが見えるように。子のBPはまだエラーが出たので、作り直した。
When I add new c++ file, It doesn’t show up in UE5 editor. #ue5
https://forums.unrealengine.com/t/when-i-add-new-c-file-it-doesnt-show-up-in-ue5-editor-ue5/534713
C++ Classes not showing up in content browser
https://forums.unrealengine.com/t/c-classes-not-showing-up-in-content-browser/86053