Forum Discussion
MrScary
4 years agoHonored Guest
Cannot get the Unity XR Plugin to work with Quest Link or Air Link
For the life of me I can't get Unity's XR plug-in management (for Oculus) to work. If my Quest 2 is connected via AirLink or Link, Unity just starts up by itself and nothing changes in the hmd. What's somewhat unusual is that when you checkbox the Oculus Plugin Provider, it installs the Oculus XR plugin package, but that Oculus checkbox never stays checked. (for both Windows and Android)
If I uninstall the Unity XR plug-in management and go old school installing Oculus Android and Oculus Desktop, Link and AirLink work immediately.
I'm using Unity 2019.4.26 and 2019.4.27 and I've tried all variations of the XR plugins. I even tried the experimental Oculus XR plugin.. no dice. RTX2080 video card with fairly recent drivers (within the last month)
Thanks
4 Replies
Replies have been turned off for this discussion
- julienkayAdventurer
MrScary wrote:What's somewhat unusual is that when you checkbox the Oculus Plugin Provider, it installs the Oculus XR plugin package, but that Oculus checkbox never stays checked. (for both Windows and Android)
I think that's the culprit. Seems your issue is similar tho this one: https://forum.unity.com/threads/xr-plugin-management-cant-enable-plugin.961806/
Maybe try deleting the file Assets\XR\Loaders\Oculus Loader.asset and then try enabling the Oculus Loader again?
- MrScaryHonored Guest
Thank you! I'll give it a try
- Mr.PrincesHonored Guest
hi , have you solved your problem? I have the same problem.
- NuShrikeExplorer
For us in Unity 2019.4.31f1, those legacy Oculus packages BLOCK the Oculus XR Plugin. You cannot have legacy and new installed at the same time.
There should be an error message on the console saying something to this effect about conflicting asmdef.
In order for the Oculus checkbox in the XR Plugin Management to work, you have to manually (via Package Manager) uninstall the old Oculus packages.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device