Unity-Technologies / URDF-Importer

URDF importer
Apache License 2.0
230 stars 71 forks source link

Cannot include plugin 'Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll' (Key: assimp.dll;None) since plugin with the same name and architecture was already added #212

Open QingnanZhong opened 1 year ago

QingnanZhong commented 1 year ago

Describe the bug I got some errors when I export Andorid package.

Exception: Cannot include plugin 'Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll' (Key: assimp.dll;None) since plugin with the same name and architecture was already added ('Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86_64/assimp.dll (Architecture: None)'). UnityEditor.Android.AndroidBuildPostprocessor.CollectPlugin (System.String path, Unity.Android.Types.AndroidArchitecture architecture, System.Collections.Generic.Dictionary

What shoud I do?

patricia241 commented 1 year ago

I have the same error.

venkataprasad-git commented 1 year ago

delete Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll and assimp.dll.meta it works

RMichaelSwan commented 9 months ago

delete Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll and assimp.dll.meta it works

Why does this work? Is the library basically being detected twice because we build for a different target than the current platform?