assimp-net
assimp-net copied to clipboard
AccessViolationException with latest assimp version
I'm trying to use AssimpNet with the most recent Assimp library, which I just compiled from source code.
Reading an object work fine, but when I try to save an object I get a AccessViolationException:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
It used to work with an Assimp DLL I compiled before in december 2016, so I guess there are some changes in Assimp since then that are not compatible with AssimpNet. Did anybody experience this before?
I think I found the issue, the aiScene struct has one extra mMetaData entry in the latest assimp build. I'll try to make a fix for this in AssimpNet.