Hi, I’m generating dynamic meshes from static meshes using CopyMeshFromStaticMesh from the geometry scripting plugin, but the UVs are not being copied.
On the left are the original static meshes (default cube) and its UVs, on the right are the copies
As you can see it is generating a new set of UVs, how can I copy the original UVs?
Am I missing something?
UDynamicMesh* ObjectMesh = NewObject<UDynamicMesh>();
FGeometryScriptCopyMeshFromAssetOptions Options;
FGeometryScriptMeshReadLOD ReadLOD;
UGeometryScriptLibrary_StaticMeshFunctions::CopyMeshFromStaticMesh(StaticMeshActor->GetStaticMeshComponent()->GetStaticMesh(), ObjectMesh,Options, ReadLOD,OutcomePins);
Thanks
