I was trying to add one C++ script into my project to using as a function, so i installed Visual Studio 2019 and Create one BlueprintFunctionLibrary class. But it didn’t working ( maybe because my codes in .cpp and .h file was wrong ) and i can not compile .
So i tried to remove C++ script out of my project by deleted some folder, some .cpp and .h file in project folder.
When i try to open my project again, it said " the following modules are missing or built with a difference engine version " and i can not rebuild my project because error " could not be compiled. Try rebuilding from source manually ".
Now, i wondering can we can remove my script C++ out of my project without open my project again ? Because i watched some video fixing " could not be compiled … " error and those way are not working with my case, so i think it would be better if i can remove script and try it again with one backup file another time.
Help me please.
Generally, if you can’t compile you C++ sources, you need to look into compilation log (it might be different, but usually it’s automaticly shows at the bottom side of IDE), because there is always some information about errors, which are clues for fixing errors. The best solution, I think, is fix your code errors.
If you definitely want to remove all your C++ code from project… I have never tried to do it, but I think you can do it by deleting your created files (left only “YourProject”.cpp, “YourProject”.h and “YourProject”.cs files) and regenerating VS project files. Just right click on .uproject file and choose “Generate Visual Studio project files” (in Windows 11 this hides inside additional parameters).
yahh, i wanna fix codes too, but after first time i cut them out, my project can not open again till now, no matter i put my .cpp and .h file back or not. So only choosen for me now is try to remove script.
i’ll try to do as your suggest, thanks bro.
I deleted all script from my project and now i can rebuilding script again with one backup file for sure.
This’s how i deleted :
First, i deleted all folders in Project folder except these file :
And next, i open my .uproject file. file ( Game01 on image )
It have some codes inside like this :
Then i deleted those code and save this one :

And finally i can open my project, it’s not have script inside anymore.
omg thanksss you’re the bestttt! >.<