Build Failed

Hi Guys, I Was Creating a C++ Class But Everytime i create, it says that error i Ignored it but then did not find the C++ Class on the context browser but it opens on Visual Studio only, still searching everywhere but did not found anything so i recreated a new project and then tried again nothing changes so here is the error

Greetings,

If you get an error when creating a new class, it means there are errors in other classes and the project cannot be recompiled. Until it is properly recompiled, your new class won’t show in the editor.
Fix the other errors and try again.

1 Like

So, are you creating C++ class using unreal editor?
If yes, then Ignore the error, close the unreal editor, close your visual studio, then go to your project folder, find the yourprojectname.uproject file, right click and then click Generate Visual Studio Project Files, now open your project with visual studio and then build and launch the editor.
This should fix the problem.
I hope it helps you.

4 Likes

Thanks Superflare it really worked thank you very much and also Tuerer you are right about the errors it can sometimes make that because of error thanks and Greetings for everybody helped me :slight_smile: