Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
joecrotchett's avatar
joecrotchett
Honored Guest
11 years ago

Upgrading from Unity 4 Integration to Oculus Uitilities

I've been running Unity 5.1.1p3 Personal with the legacy Unity 4 Integration. I'm trying to upgrade my Rift/GearVR project to use Unity VR w/Oculus Utilities. Here's what I did...

1) Delete the legacy Unity 4 Integration assets, which includes the "OVR" folder and everything in the Plugins folder, except "Plugins/Android/AndroidManifest.xml" and "Plugins/Android/assets/signaturefile".

2) Add the Oculus Utilities package, which adds a new "OVR" folder and assets in the Plugins folder

3) Go into PlayerSettings and enable "Virtual Reality Supported"

4) Add the new OVRPlayerController prefab to my scene

At this point, I'm seeing an error in my console...
"Multiple plugins with the same name 'ovrgamepad' (found at 'Assets/Plugins/x86_64/OVRGamepad.dll' and 'Assets/Plugins/x86_64/OVRGamepad.dll'). That means one or more plugins are set to be compatible with Editor. Only one plugin at the time can be used by Editor."

...but I'm still able to run my project in the editor. However, when I attempt to build to my Note4, I get a popup that reads...
"Package com.OculusIntegration has conflicts with other plugins. See the Console for details."

In the console, I have multiple errors...

"Plugin Bundle ID conflict detected: package com.Oculus.Integration has conflicts with other plugins (oculus vs Oculus). Make sure you use the same case for your package names.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()"


Thanks in advance for your help!

3 Replies

Replies have been turned off for this discussion
  • "joecrotchett" wrote:
    Multiple plugins with the same name 'ovrgamepad'

    It sounds like the package's import settings for OVRGamepad.dll were lost somehow. Can you click on the DLL file in the Project view and set the inspector like I have done in the screenshot? That is for the x86_64 plugin. For x86, choose the file in the x86 folder and select CPU = x86 from the drop-down.
    PluginImport.png

    "joecrotchett" wrote:
    Plugin Bundle ID conflict detected: package com.Oculus.Integration has conflicts with other plugins (oculus vs Oculus).

    It sounds like your project was previously using a bundle ID that started with com.Oculus. That will conflict with the new jar files inside Unity, which use com.oculus. Can you change your bundle identifier in Player Settings > Android > Other Settings > Bundle Identifier from com.Oculus.AppName to com.oculus.AppName ?
  • @vrdaveb Just had the same issues and can confirm your fixes helped. Thanks!