Forum Discussion

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

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

  • 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?

      • Mr.Princes's avatar
        Mr.Princes
        Honored Guest

        hi , have you solved your problem?  I have the same problem.

  • 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.