- attached glTF.zip
Export scene freezes under some formats.
I import a scene and trying to export it as obj or 3ds or some formats, AssimpNet freezes during exporting and stuck, no error message.
But if I choose to use the Assimp Binary format, the export works fine.
I attached the model I am testing. Import works fine.
Comments (6)
-
reporter -
repo owner Thanks for the report, I'll take a look
-
repo owner I just tested using the sample project, two workflows:
AssimpContext::ConvertFromFileToFile
Load using AssimpContext::ImportFile, then export scene using AssimpContext::ExportFile
Both worked in writing out an OBJ file of your robot model, and both pretty fast (tested in Release), and I can open the OBJ file in external viewers. Can you elaborate a bit more on what your code looks like?
-
reporter I'm using my own code to construct the scene, so maybe there's some property not set correctly. I will try to figure out which property is.
Will let you know once found the issue.
-
reporter Found the issue, because the Name in Material is null. It causes freeze.
-
reporter - changed status to resolved
Caused by Material.Name = null.
- Log in to comment