20tab / UnrealEnginePython

Embed Python in Unreal Engine 4
MIT License
2.77k stars 754 forks source link

FRawMesh is not valid or fixable #813

Open samghafari opened 4 years ago

samghafari commented 4 years ago

I am trying both examples StaticMesh: Centering pivot StaticMesh: Adding LODs

UnrealEnginePython/tutorials/SnippetsForStaticAndSkeletalMeshes.md

without changing anything, but I get error

FRawMesh is not valid or fixable Traceback (most recent call last): File "Scripts/pivot.py", line 56, in add_lods(uobject) File "Scripts/pivot.py", line 37, in add_lods raw_mesh.save_to_static_mesh_source_model(lod1) Exception: FRawMesh is not valid or fixable

it seems it has problem with raw_mesh.save_to_static_mesh_source_model, anyone knows the solution?

samghafari commented 4 years ago

@rdeioris is there any solution for this?