Search Unity

Help! OVRPlugin.dll is colliding with another plugin when building for iOS

Discussion in 'AR/VR (XR) Discussion' started by gfaraj, Mar 28, 2017.

  1. gfaraj

    gfaraj

    Joined:
    Jul 11, 2016
    Posts:
    35
    Today I upgraded from Unity 5.5.1 to 5.5.2 and when building for iOS, there's an error that does not allow the build to continue:

    Plugin 'OVRPlugin.dll' is used from several locations:
    /Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/VR/Win64/OVRPlugin.dll would be copied to <PluginPath>/OVRPlugin.dll
    /Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/VR/Win/OVRPlugin.dll would be copied to <PluginPath>/OVRPlugin.dll
    Please fix plugin settings and try again.

    UnityEditor.Modules.DefaultPluginImporterExtension:CheckFileCollisions(String)
    UnityEditorInternal.PluginsHelper:CheckFileCollisions(BuildTarget) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Plugins/PluginsHelper.cs:25)
    UnityEditor.HostView:OnGUI()​


    I don't use VR in my project. For iOS, there's no setting in Other Settings for "Virtual Reality Supported" - just the Android Player Settings has that.

    How can I disable these plugins? I don't see them in my Assets folder or anything.

    Thanks,
    George
     
  2. gfaraj

    gfaraj

    Joined:
    Jul 11, 2016
    Posts:
    35
    Nevermind, I did Reimport All and this error is no longer showing.