Download

FComponentVisualizer dissapears on component name change

Hi!

I’ve created a custom FComponentVisualizer class. I registered it in my editor module using



GUnrealEd->RegisterComponentVisualizer(UMyComponent::StaticClass()->GetFName(), MakeShareable(new FMyVisualizer));


It works, it shows in the blueprint’s viewport. But when I change the name of the component, in editor, it disappears. It appears again when I change back the name of the component.
When I change the name and restart the editor, then it appears normally. But then, when I change the component name again, it disappears again.

Help?