Closed 9000miles closed 9 months ago
https://github.com/irajsb/UE4_Assimp/releases/tag/MajorBugFix I downloaded this and migrated to 5.2 and it works for me for that exact file
5.2. After packaging, you must add MeshDescriptionsParams.bFastBuild = true to AIMesh.cpp UAIMesh: : GetStaticMesh (). After adding it, it looks like my screenshot; If you don't add build Development will crash because of this; When you build Shipping, the default internal process sets bFastBuild to true, which doesn't crash, but the result is something like my screenshot
https://github.com/irajsb/UE4_Assimp/releases/tag/MajorBugFix I downloaded this and migrated to 5.2 and it works for me for that exact file
You can try using the other method which is using procedural mesh component . so instead of using static mesh spawn a procedural mesh component and get mesh data using GetMeshDataForProceduralMesh and connect it to procedural mesh component
Describe the bug
UE5.2 asynchronous import function ImportScenesAsync will crash, and do not know how to call this function in the blueprint, can only copy from your example project
After packaging projects need AIMesh. CPP UAIMesh: : GetStaticMesh () function must add MeshDescriptionsParams. BFastBuild = true; Otherwise, it will crash, but the effect of loading after adding is wrong, and the whole model will become dark after the camera is close
To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
Sample file for testing Provide an optional sample file for testing .