- changed status to closed
Initializing Error On Unity Mac Editor
The plugin is running fine on Unity Windows Editor and windows build as well. Tried testing on Mac platform and it is giving following error when tried to initialize the plugin on Unity Mac Editor :
AssimpException: Error loading unmanaged library from path: libassimp.dylib
dlopen(libassimp.dylib, 2): image not found Assimp.Unmanaged.UnmanagedLibrary+UnmanagedMacLibraryImplementation.NativeLoadLibrary (System.String path) (at <57c9516461ce4eccac0324ad793b6474>:0) Assimp.Unmanaged.UnmanagedLibrary+UnmanagedLibraryImplementation.LoadLibrary (System.String path) (at <57c9516461ce4eccac0324ad793b6474>:0) Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary (System.String libPath) (at <57c9516461ce4eccac0324ad793b6474>:0) Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary () (at <57c9516461ce4eccac0324ad793b6474>:0) Assimp.AssimpUnity.InitializePlugin () (at Assets/UnityPlugin/Plugins/AssimpNet/AssimpUnity.cs:131)
BTW ... tried to create a mac build too, it is working fine in the build.
Comments (3)
-
reporter -
repo owner - changed status to resolved
Next time, please either attach a git patch or open a Pull Request, rather than posting the file. And don't close the issue until the fix is integrated into the repo.
Thanks for finding this!
-
reporter oh ok got it. No problem .. Thank you for the great plugin :D
- Log in to comment
Had to update AssimpUnity.cs file. In switch case for platforms (OSXEditor case). File was still looking for .dylib instead it should use .bundle. Here's the updated file. Please update the file in the repo.