FComponentVisualizer not associated anymore with object if the inherited blueprint is recompiled

The test actor has a component “UTestSceneComponent”, in BugReport01Editor.cpp I register a ComponentVisualizer for the “UTestSceneComponent”

  TSharedPtr<FComponentVisualizer> Visualizer = MakeShareable(new FTestActorComponentVisualizer());

  if (Visualizer.IsValid() && GUnrealEd) {
    GUnrealEd->RegisterComponentVisualizer(UTestSceneComponent::StaticClass()->GetFName(), Visualizer);
  }