AssimpNet.dll not found
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)
-
repo owner -
repo owner - changed status to resolved
-
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) -
reporter - changed status to open
- Log in to comment
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.