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

Broken Exporter #42

Open
Pilzinsel64 opened this issue Jun 6, 2018 · 2 comments
Open

Broken Exporter #42

Pilzinsel64 opened this issue Jun 6, 2018 · 2 comments

Comments

@Pilzinsel64
Copy link

I realy don't know why, but exporting with Assimp.dll 64bit v4.1.0 doesn't work and v3.1.1 works.
And I am testing since weeks now.

Here two test codes which work perfectly with v3.1.1 and with v4.1.0 I get a System.AccessViolationException:

grafik

grafik

Please fix that or tell me what I do wrong, I realy would use the Export-Feature.

@Pilzinsel64
Copy link
Author

Update: It only happens to the 64-bit version.
But with 32-bit it creates the files but they are empty and my model isn't empty. In a test, I tried to export the same as I imported.

@Starnick
Copy link

Starnick commented Oct 5, 2018

This is because the newer native version has breaking changes in how its types are laid out in memory, so on the managed side you'll get all sorts of memory-related exceptions.

FYI, this is not the official repository for Assimpnet -- it is located on bitbucket (https://bitbucket.org/Starnick/assimpnet/src/master/), this is a repository cloned from my old googlecode one by the native authors.

AssimpNet has been updated to target the native 4.1.0 version, and release candidate nuget packages have been posted:

https://www.nuget.org/packages/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

2 participants