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

Error when importing assembly stream #57

Open
Neintonine opened this issue Jun 13, 2020 · 0 comments
Open

Error when importing assembly stream #57

Neintonine opened this issue Jun 13, 2020 · 0 comments

Comments

@Neintonine
Copy link

Neintonine commented Jun 13, 2020

Heya,
If this problem has been solved once, I am very sorry.
I have an assembly, where I store a "glb"-file (had the same issue, with "obj", too) with some primitives.

The problem is, when I import the stream over "ImportFileFromStream", I get the following error message:
Assimp.AssimpException: 'Error importing file: BLEND: BLENDER magic bytes are missing, couldn't find GZIP header either
If I open it over paths, it's importing as it should.

I use Assembly.GetExecutingAssembly().GetManifestResourceStream("SMRenderer.Base.Models.Objects.SMDefaultObjects.glb")
to import the stream. At other importer, like SharpGLTF, I had no problems with the stream.

I am on Assimp-5.0.0-beta1 (latest currently)

I am happy for everyone, who attempts to help me.
Michel

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