assimp / assimp/assimp-net

AssimpContext.ExportFile broken

Open
#62 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
218
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Using ExportFile method always results to a crash, regardless the format I am exporting to:
`using var ctx = new AssimpContext();
ctx.ExportFile(new Scene(), fileName, "obj");
`

Exception:
`System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
`

I am using .Net Core 3.1 and AssimpNet 4.1.0.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Reproduce the provided .NET Core 3.1 example with AssimpNet 4.1.0, then trace AssimpContext.ExportFile through the native export boundary. Done means exporting the sample Scene no longer raises AccessViolationException.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.