how to fix “Successfully added class ‘MyActorComponent’, however you must recompile the ‘practice’ module before it will appear in the Content Browser. Failed to generate project files.” this error.
So failed to generate project files might well be unrelated to the vague error above. You should generate your project files again using cmd so you can view why it fails. You should open a cmd window and try this:
“D:\ProgramFiles\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe” -projectfiles -project=“PROJECTPATH.uproject” -game -rocket -progress
Change the paths above as required to point to your engine and project.
This should then give you a nice issue to solve. Often I find it’s just a plugin reference in the .uproject thats no longer available, if so you can just open the uproject in a text editor and change it.
thanks a lot.
It works for me perfectly as I am using a plugin that is no longer available.