cancel
Showing results for 
Search instead for 
Did you mean: 

either the oculus xr or openxr plugin package must be installed through the package manager

aberbotimue
Explorer

A little guilty posting two questions in as many days, but worst case others may find them on a search and hopefully stop a future question. 

I am still following the hello world tutorial on the meta site, and instead of describing how to install these plugins (  which if i recall they used to walk new users through )  the new setup project tool does it for you..  

awesome if it worked for me!    ( and it configured 10 other things which is a massive improvement so very cool tool )  

i get these two left behind, that the tool couldn't do.  

 

"either the oculus xr or openxr plugin package must be installed through the package manager"

"The XR plug-in Management package must be installed"

My old friend google isnt helping, so started looking for the plugins in the Unity asset store, but again no such luck..  

Anyone got any ideas what they are so I can manually install them myself, 

or what may be blocking the tool doing it's thing?

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

kmbarr
Honored Guest

Because you have the option of using either the Oculus XR plugin or the OpenXR plugin, the issue needs to be manually resolved.

In Unity, go to Window --> Package Manager. Select "Unity Registry" in the dropdown on the upper left [or on the side panel if you're using Unity 6] and enter "Oculus" in the search field. The Oculus XR plugin should come-up; go ahead and install that [it has a dependency of XR Plugin Management, so that will be installed automatically as well]. Now if you return to the Meta XR "Project Setup Tool" those errors should be resolved; fix any remaining or new issues and you should be set.

I haven't found much information on when the Meta SDK started supporting the OpenXR plugin as an option or what advantage there would be to that, but up until recent versions that wasn't an option so probably best to stick with the Oculus XR plugin since you're developing for Meta devices.

View solution in original post

3 REPLIES 3

kmbarr
Honored Guest

Because you have the option of using either the Oculus XR plugin or the OpenXR plugin, the issue needs to be manually resolved.

In Unity, go to Window --> Package Manager. Select "Unity Registry" in the dropdown on the upper left [or on the side panel if you're using Unity 6] and enter "Oculus" in the search field. The Oculus XR plugin should come-up; go ahead and install that [it has a dependency of XR Plugin Management, so that will be installed automatically as well]. Now if you return to the Meta XR "Project Setup Tool" those errors should be resolved; fix any remaining or new issues and you should be set.

I haven't found much information on when the Meta SDK started supporting the OpenXR plugin as an option or what advantage there would be to that, but up until recent versions that wasn't an option so probably best to stick with the Oculus XR plugin since you're developing for Meta devices.

Thankyou so much @kmbarr ..  worked like a dream..  

 

 

moisesdeabreu
Honored Guest

The error you're encountering is most likely because you haven't selected one of the required XR plugins. To work with the current versions of Oculus, it's generally better to use the Oculus plugin.

You can fix this by going to Edit > Project Settings > XR Plug-in Management. In the Android tab, you should see a checkbox for Oculus as the provider. Make sure to check that box, and the necessary plugin will install, resolving the error.

If any additional prompts appear, just click Fix, and everything should work smoothly.

Hope this helps!