Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AccessViolationException with latest assimp version #39

Open
agerrius opened this issue Feb 16, 2018 · 1 comment
Open

AccessViolationException with latest assimp version #39

agerrius opened this issue Feb 16, 2018 · 1 comment

Comments

@agerrius
Copy link

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?

@agerrius
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant