rdeioris / glTFRuntime-docs

Official Documentation for the glTFRuntime Unreal Engine Plugin
MIT License
104 stars 17 forks source link

About LoadSkeletalMeshRecursiveAsync #23

Closed rtjia closed 1 month ago

rtjia commented 2 months ago

I'm back again :-)

I need use Async at loadSkeletalMesh, but i noticed function LoadSkeletalMeshRecursiveAsync() have not call FinalizeSkeletalMeshWithLODs ,

But, have some error at runtime . So , Is there anything wrong with the above steps?

Thanks a lot.

rdeioris commented 1 month ago

For triggering Mesh finalization you need to set the AsyncCallback. Without it the mesh will be basically useless.

rtjia commented 1 month ago

Thank you. yes , I do it, but when i use runtimeSkelContext call FinalizeSkeletalMeshWithLODs() in AsyncCallback function for Mesh finalization , but crash, I trace code , it's seems like some infomation of runtimeSkelContext was lost .