-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
fixed in next versionThis has been fixed and will need a test when the next version comes out.This has been fixed and will need a test when the next version comes out.
Description
I am experiencing a similar issue to #5 when building a project for iOS (testing a combined XR and AR setup) where Unity attempts to include multiple versions of the OpenVR XR plugin's native plugins in the build, resulting in the iOS build failing:
Plugin 'XRSDKOpenVR.dll' is used from several locations:
Packages/com.valvesoftware.unity.openvr/Runtime/x64/XRSDKOpenVR.dll would be copied to <PluginPath>/XRSDKOpenVR.dll
Packages/com.valvesoftware.unity.openvr/Runtime/x86/XRSDKOpenVR.dll would be copied to <PluginPath>/XRSDKOpenVR.dll
Plugin 'openvr_api.dll' is used from several locations:
Packages/com.valvesoftware.unity.openvr/Runtime/x86/openvr_api.dll would be copied to <PluginPath>/openvr_api.dll
Packages/com.valvesoftware.unity.openvr/Runtime/x64/openvr_api.dll would be copied to <PluginPath>/openvr_api.dll
Plugin 'ucrtbased.dll' is used from several locations:
Packages/com.valvesoftware.unity.openvr/Runtime/x64/ucrtbased.dll would be copied to <PluginPath>/ucrtbased.dll
Packages/com.valvesoftware.unity.openvr/Runtime/x86/ucrtbased.dll would be copied to <PluginPath>/ucrtbased.dll
Plugin 'libopenvr_api.so' is used from several locations:
Packages/com.valvesoftware.unity.openvr/Runtime/x64/lib/x64/libopenvr_api.so would be copied to <PluginPath>/libopenvr_api.so
Packages/com.valvesoftware.unity.openvr/Runtime/x64/libopenvr_api.so would be copied to <PluginPath>/libopenvr_api.so
Please fix plugin settings and try again.
Can these native plugins have their import settings changed to only be included for Editor and Standalone platforms in the same way that the Oculus XR plugin does in order to prevent them being needlessly included in builds for unsupported platforms, like iOS?
Gusinuhe, ROBYER1 and fuqunaga
Metadata
Metadata
Assignees
Labels
fixed in next versionThis has been fixed and will need a test when the next version comes out.This has been fixed and will need a test when the next version comes out.

