AssimpNet: AccessViolationException
farhankhwaja opened this issue · 1 comments
Hi,
I was using AssimpNet today and when I was trying to Import .STL file and then export it to an OBJ, i got an AccessViolationException, below is the Exception Message:
An unhandled exception of type 'System.AccessViolationException' occurred in AssimpNet.dll Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
But when I use Open3Mod Viewer, I am able to view the STL file with 4 meshes.It also has 4015886 Vertices and 1821446 Triangles.
Below is a screenshot from Open3Mod Viewer:
and here is what I get after conversion:
Please help me with this.
I found the solution for this. It was an issue related to the Arch. i..e x86 or x64. After reading articles over the internet, I found this to be an architecture issue rather than Assimp Issue.