My UE4 project crashed when I try to put my created class into viewport

Yes, When I comment SetStaticMesh it doesn’t crash .