I ‘accidentally’ added a C++ class to a pure blueprint project. Now i’m unable to open the project because its “build with a different engine version”… which it is not, i’m unable to compile the project and need to rebuild it manually from source… WHY.
.
I want to remove all accidentally associated C++ files so the project can Open like it used to, without any problems. I don’t want to have to worry about this in the next release of Unreal Engine, or ever again for this PURE blueprint project. I’m unable to properly open it or package the project because of these C++ files that i don’t want to exist…
.
Steps to ‘solve’ that doesn’t work:
Rebuild manually from source then remove associated c++ files.
This will not work because for some reason the project is still looking for these files with nothing in them. And the project never returns as a pure blueprint project. Packaging will always fail and the entire project will need a full manual rebuild next Unreal Engine version that sneaks along.
This don’t work because the engine is still referencing the ( now lost ) files and refuses to open and now also refuses to build because of the missing files.
. TLDR
I’m looking for a solution that returns the once Pure Blueprint project back to… well a pure blueprint project.
After some of trial and error i stumbled across a solution that worked for me, by looking at the difference between a pure blueprint .uproject file and one that is associated with c++ files.
Posting it here in case someone else needs this.
After deleting the Binaries folder, Source folder and .vs folder, open the .uproject file with notepad ( i used NotePad++ ) and remove the “Modules” section.
Hey, so I suspected this is why I was getting the Missing ProjectName.target file error of not being able to build from editor, it would say I had to rebuild manually from source when trying. I had stupidly made C++ files.
This solved the issue of not being able to build from editor. Thank you!
But, oddly I still get the prompt to build from editor each time I open the project. It works when I say yes but it’s weird it keeps asking, thought it would only have to do it once.