How do I add C++ classes successfully?

Successfully added class 'TheHUD', however you must recompile the 'The_Seven_Sins' module before it will appear in the Content Browser. Failed to generate project files.

Would you like to open the Output Log to see more details?

this message popped up when I tried to create a C++ class, I looked online to try and figure out how to fix it and I didn’t find anything helpful. Can someone give me an explanation on how to fix this?

Close your editor and right click your uproject file and select “Generate Visual Studio project files”, after that open the visual studio solution and compile your project :slight_smile:
image

1 Like


I don’t see the compile option

Just click build :slight_smile:

It works now, thank you

1 Like