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?
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
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…
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
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.