Failed to rename C++ asset

After building the editor on Linux I made a new blank C++ project and created a new C++ class based on Actor with the name TestActor. When I attempt to rename that asset via the content browser I get the following failed rename message:

Not possible to rename C++ assets through the editor? Bug? Or have I broken something? :slight_smile:

You right clicked on a C++ Class in the Content Browser and were able to use the “Rename” option?

If so, that’s a bug since you shouldn’t be able to rename C++ classes via the Editor.

Not via right click no, I clicked on the text on the asset icon which changed to editable.

Edit: Ignore the below, deleting the Intermediate folder for the game project and recompiling sorted it. Leaving the question just in case anyone else runs into this.

As a follow up, I renamed the cpp/h files for the class, renamed the class itself/methods/includes and renamed the CMake file entry. Recompiling works but the editor didn’t seem to want to pick up on the new class until after a few restarts. At which time it showed both the new renamed class and the old class which now no longer exists.

Have I overlooked any files or references that are causing the old class to still appear in the content browser?

I’ve removed the ability to rename classes by clicking on their name as part of e66e0e5 (it turns out this was also affecting other read-only items, such as redirectors).

ok Jamie, but in this moment : renaming source not reflecting on the Editor. Trying clean folders, rebuild but Editor class has old name. What can I do?