assimp icon indicating copy to clipboard operation
assimp copied to clipboard

FBX read crashes

Open swq0553 opened this issue 5 years ago • 4 comments

Describe the bug the FBX file is exported from DAZ 3D. Crash at Document::ReadConnections() { ... const std::string& type = ParseTokenAsString(GetRequiredToken(el,0)); ... } the type is "PO",But it's not being processed.

swq0553 avatar Oct 20 '20 08:10 swq0553

Could you pleasse provide a small example?

kimkulling avatar Oct 22 '20 08:10 kimkulling

ok,try this. pose-test.zip

swq0553 avatar Oct 23 '20 02:10 swq0553

Could you pleasse provide a small example?

is that fixed?

swq0553 avatar Oct 28 '20 02:10 swq0553

On recent assimp commit (9934a8d 7 Oct 2024), unable to load model pose-test.fbx, import fails gracefully i.e. does not crash and reports error:

FBX-Parser (TOK_DATA, offset 0x48ef57) failed to parse ID, unexpected data type, expected L(ong) (binary)

tellypresence avatar Oct 13 '24 18:10 tellypresence