AssimpNet.dll not found

Issue #89 open
Oofjay created an issue

Hello, I’m attempting to build the project, but I’m stumbling onto an error:

Error MSB3030 Could not copy the file "C:\Starnick-assimpnet-95c0314464ff\AssimpNet\bin\Release\netstandard1.3\AssimpNet.dll" because it was not found. AssimpNet C:\Starnick-assimpnet-95c0314464ff\UnityPlugin\UnityPlugin.targets 29

I’m mostly trying to build this for the Unity plugin, but I can’t seem to make it work.

Comments (4)

  1. Nicholas Woodfield repo owner

    A recent update to ILPatcher seems to be causing an issue when the UnityPlugin.targets is referenced. I’ve reverted the change and it appears to be working again from a clean repo/build.

  2. Oofjay reporter

    Thanks, I’m able to build it now! When I try to import a file in Unity now, though, I get another error, seemingly another library error:

    COMException
    Rethrow as AssimpException: Error loading unmanaged library from path: Assets/Plugins/AssimpNet/Native/win/x86_64/assimp.dll
    Assimp.Unmanaged.UnmanagedWin32LibraryImplementation.NativeLoadLibrary (System.String path) (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.Unmanaged.UnmanagedLibraryImplementation.LoadLibrary (System.String path) (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary (System.String libPath) (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary () (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.Unmanaged.UnmanagedLibrary.LoadIfNotLoaded () (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.Unmanaged.AssimpLibrary.CreatePropertyStore () (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.AssimpContext.CreateConfigs () (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.AssimpContext.PrepareImport () (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.AssimpContext.ImportFile (System.String file, Assimp.PostProcessSteps postProcessFlags) (at <e243692a431349e9b91e3c283ba359f9>:0)
    Assimp.AssimpContext.ImportFile (System.String file) (at <e243692a431349e9b91e3c283ba359f9>:0)
    MainMenu.OpenFile (UnityEngine.UIElements.ClickEvent evt) (at Assets/MainMenu.cs:40)

  3. Log in to comment