Greetings. This seems like an easy issue at first but …
Basically, I want to delete a C++ class that I have created in the editor. From what I know, I need to:
- Close down Unreal Editor and Visual Studio
- Manually delete the .cp and .h files in Explorer
- Run the GenerateProjectFiles.bat
- Recompile
see How do I remove a C++ class from my project code? - C++ - Unreal Engine Forums
The problem is that I do not have a GenerateProjectFiles.bat file located anywhere in the Unreal editor directory.
When I go to C:\Program Files\Epic Games\4.7\Engine\Build\BatchFiles the only file I can find is RocketGenerateProjectFiles.bat.
Executing this always returns:
ERROR: UnrealBuildTool was unable to generate project files.
Note that I am using a fresh download (4.7.6) of the engine from:
https://www.unrealengine.com/dashboard
Does someone know what is going on here? Everything else seems to work fine but can’t delete a simple class …
Thanks!