ProceduralMeshComponent does not show in editor

I have been trying to create a ProceduralMeshComponent following this tutorial:

After adding it into editor, the model does not show in the editor.
When running the game, the model shows up fine and collision works.

What is needed to make the mesh visible in editor ?

Have you tried putting “GenerateCubeMesh();” on construction script? Its equivalent in C++ is OnConstruction(). Put it there and remove it from BeginPlay. Use:

virtual void OnConstruction(const FTransform& Transform) override;

Thanks, that was it.

Makes a lot of sense when you know where to look.