I use this line to init component ,fix problem NewObject<CLASSNAME>(this, TEXT("StaticMesh"))
NewObject<CLASSNAME>(this, TEXT("StaticMesh"))