Forum Discussion
joecrotchett
11 years agoHonored Guest
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...
...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...
In the console, I have multiple errors...
Thanks in advance for your help!
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
- vrdavebOculus Staff
"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 ? - joecrotchettHonored GuestThanks, vrdaveb, those tweaks fixed the issues. Appreciate your help!
- Ser3nityHonored Guest@vrdaveb Just had the same issues and can confirm your fixes helped. Thanks!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 months ago
- 5 months ago