ProceduralMesh to StaticMesh Problem

OK! After looking at the code for ever. I figured out whats wrong…
I forget to create an Object of the StaticMeshComponent.

testMesh = NewObject<UStaticMeshComponent>(this, TEXT("ComponentName"));

this Line solved the Crashing :smiley: