Plugins colliding with each other (622111)

Hi all. I just migrated my project from Unity 4.6.3 to 5.3.4.
Everything seems fine until I tried an iOS build. Got this:

Plugin ‘Shore140.dll’ is used from several locations:
Assets/Plugins/x86/Shore140.dll would be copied to /Shore140.dll
Assets/Plugins/x86_64/Shore140.dll would be copied to /Shore140.dll
Plugin ‘MFC100U.DLL’ is used from several locations:
Assets/Plugins/x86_64/MFC100U.DLL would be copied to /MFC100U.DLL
Assets/Plugins/x86/MFC100U.DLL would be copied to /MFC100U.DLL
Plugin ‘MSVCP100.DLL’ is used from several locations:
Assets/Plugins/x86/MSVCP100.DLL would be copied to /MSVCP100.DLL
Assets/Plugins/x86_64/MSVCP100.DLL would be copied to /MSVCP100.DLL
Plugin ‘pthreadVC2.dll’ is used from several locations:
Assets/Plugins/x86/pthreadVC2.dll would be copied to /pthreadVC2.dll
Assets/Plugins/x86_64/pthreadVC2.dll would be copied to /pthreadVC2.dll
Plugin ‘MSVCR100.DLL’ is used from several locations:
Assets/Plugins/x86/MSVCR100.DLL would be copied to /MSVCR100.DLL
Assets/Plugins/x86_64/MSVCR100.DLL would be copied to /MSVCR100.DLL
Please fix plugin settings and try again.

It seems there are now duplicate plugins in the x86 and x86_64 folders. Can I just delete the duplicates from one of the folders, or should I change the selected platforms for the plugins in the inspector somehow?

Any help appreciated.

Thanks

Anybody?..please?

Shore140.dll is marked as compatible with iOS platform… Select the plugin, and unselect iOS , the same probably goes for other plugins

1 Like

Thank you for your reply, but I’m a little confused. By default, the inspector has ‘any platform’ and ‘standalone’ checked for these plugins. iOS is already unchecked. Do I need both the 32-bit and 64-bit versions of these plugins for a Universal build?

I am assuming those dlls are native, thus they only work on Windows. Uncheck Any Platform, and select Standalone, and in Platform Settings, unselect Linux and OSX.

Any Platform overrides individual platform settings (they should be grayed out), that’s why you must uncheck Any Platform

1 Like

Ok Thank you once again for your help!

i too got the plugin collision error.

what’s really strange about it though: if i trigger the build script via command line it results in this error. if i trigger the exact same build script from within unity editor it works flawlessly… :eyes:

Unless you missed something, this would be considered a bug. Please report it with repro project attached.

We get this error in 5.5 but referencing a plugin we don’t recognise.

So we found a referenec to this in Spatializer Plugin on the Audio Settings … though it doesn’t seem to matter what value we set this to.

Plugin ‘AudioPluginMsHRTF.dll’ is used from several locations:
E:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/VR/Win64/AudioPluginMsHRTF.dll would be copied to /AudioPluginMsHRTF.dll
E:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/VR/WindowsStoreApps/uap_x64/AudioPluginMsHRTF.dll would be copied to /AudioPluginMsHRTF.dll
E:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/VR/WindowsStoreApps/uap_x86/AudioPluginMsHRTF.dll would be copied to /AudioPluginMsHRTF.dll
E:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/VR/Win/AudioPluginMsHRTF.dll would be copied to /AudioPluginMsHRTF.dll
E:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/VR/WindowsStoreApps/uap_arm/AudioPluginMsHRTF.dll would be copied to /AudioPluginMsHRTF.dll

1 Like

shore140.dll used in your project just find your project extra shore140.dll file deleted

If all else fails, you can close the project, delete the ‘Library’ folder and its contents. Re-open the project then Unity will reimport and rebuild the ‘Library’ folder and its contents. Worked for me.

1 Like