diff --git a/Plugins/RuntimeGeometryUtils/Source/RuntimeGeometryUtils/Private/DynamicSMCActor.cpp b/Plugins/RuntimeGeometryUtils/Source/RuntimeGeometryUtils/Private/DynamicSMCActor.cpp index 675929d..79d8f53 100644 --- a/Plugins/RuntimeGeometryUtils/Source/RuntimeGeometryUtils/Private/DynamicSMCActor.cpp +++ b/Plugins/RuntimeGeometryUtils/Source/RuntimeGeometryUtils/Private/DynamicSMCActor.cpp @@ -48,7 +48,9 @@ void ADynamicSMCActor::UpdateSMCMesh() StaticMesh = NewObject(); MeshComponent->SetStaticMesh(StaticMesh); // add one material slot - StaticMesh->GetStaticMaterials().Add(FStaticMaterial()); + FStaticMaterial StaticMaterial; + StaticMaterial.UVChannelData = FMeshUVChannelInfo(1.0f); + StaticMesh->GetStaticMaterials().Add(StaticMaterial); } if (MeshComponent)