I renamed a class, only the old class is shown

I had a C++ class, let’s call it UOldName, and I renamed it to UNewName. I renamed the .h, .cpp, the constructor signatures etc. etc. My code compiles fine.

I run the editor, and I try to create a new Blueprint Class, and look at the list of possible parent classes. ** UOldName is listed, but UNewName is not**. Why would that be?

I’ve tried cleaning solution, rebuilding, nothing.

Any ideas?

Did you also try Refresh Visual Studio Project from the Unreal File menu?

This doesn’t matter VS project is compliantly ignored during compilation process

Do you tried compile with editor closed?

You will need to right click the .uproject in the root directory of the project, and then Generate Visual Studio files.

Cleaning the build didn’t help, but completely deleting the Intermediate directory fixed the problem.