System.AccessViolationException then try open the fbx model
#1
I received a the next exception and a programm did crash when try to open attached model.

I tried this with 8.3.6989 and 8.2.6863 versions using different methods.
I can send a project to your email.


Code:
System.AccessViolationException
 HResult=0x80004003
 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
 Source=AssimpNet
 StackTrace:
  at Assimp.MemoryHelper.Read[T](IntPtr pSrc, T[] data, Int32 startIndexInArray, Int32 count)
  at Assimp.MemoryHelper.FromNativeArray[T](IntPtr nativeArray, Int32 length)
  at Assimp.EmbeddedTexture.Assimp.IMarshalable<Assimp.EmbeddedTexture,Assimp.Unmanaged.AiTexture>.FromNative(AiTexture& nativeValue)
  at Assimp.MemoryHelper.FromNativeArray[Managed,Native](IntPtr nativeArray, Int32 length, Boolean arrayOfPointers)
  at Assimp.Scene.Assimp.IMarshalable<Assimp.Scene,Assimp.Unmanaged.AiScene>.FromNative(AiScene& nativeValue)
  at Assimp.MemoryHelper.FromNativePointer[Managed,Native](IntPtr ptr)
  at Assimp.Scene.FromUnmanagedScene(IntPtr scenePtr)
  at Assimp.AssimpContext.ImportFile(String file, PostProcessSteps postProcessFlags)
  at Ab3d.Assimp.AssimpWpfImporter.ReadFileToAssimpScene(String fileName)
  


Messages In This Thread
System.AccessViolationException then try open the fbx model - by Alex3d - 03-19-2019, 07:51 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)