Cannot open Unreal Engine 5 after changing C++ code

My enthusiasm for Unreal Engine is waning quickly. Almost every time I make a change to my C++ files (mostly header files) I run into a problem where I cannot open the editor and I have to start the project again. Lately after every change I copy the whole project folder to a memory stick so I do not lose everything. My project is called MathGenie. I am using UE 5.8.2.

When I try to run the project from the Epic launcher it shows the following error:

When I say Yes to rebuild it says the following:

I have tried deleting the Binaries and Intermediate folders and right-click on the uproject file to generate Visual Studio project files, but then it shows the second message again.

How do I recover from this error and why is it so unstable when using C++ in projects?

hi @kbsims

possibly you have changed your code to make ue5 think its dealing with a plugin

look in your .uproject file and remove any references to extra plugins named

mathgenie

I think mathgenie is the project name.

But yea, if UE won’t open a project and says to rebuild manually, build the project from VS or Rider, then open project. I’ve not had much luck with live coding or UE’s builder, so I always close editor before editing any source , do the edits and build with VS, then reopen UnrealEditor.

don’t use the epic launcher, run the project from C++ and see the error messages