Skip to main content
mousebear
Honored Contributor
September 13, 2022

Meta XR Integration SDK on Unity Package Manager (Experimental)

  • September 13, 2022
  • 20 replies
  • 16623 views

Starting with v44, we will start publishing experimental releases of the Utilities package (“Oculus/VR”) via Unity Package Manager. It will be hosted on our custom scoped registry, and will come with a simple installer to help developers onboard.

 

Moving onwards, we plan to gradually roll out more Unity packages via Unity Package Manager into 2023. We hope to explore if this distribution method works sufficiently well to supersede the asset packages.

 

If you have any feedback and/or issues in regards to this, please use this place to discuss, as we'll have members of the engineering team reviewing this thread!

 

    20 replies

    New Participant
    October 8, 2022

    Seems to be a problem with the installer, it throws a null ref causing it to hang on fetching the packages. Looks related to the "read and agree" Toggle box.

    New Participant
    October 28, 2022

    So, I manually added https://npm.developer.oculus.com/ to the scoped registry and tried to install the com.meta.xr.sdk.utilities package, but nothing happens, the installation hangs forever. From https://npm.developer.oculus.com/-/web/detail/com.meta.xr.sdk.utilities I can't download the tarball either. What should I do? I need to make authorization for my application, and except in this package, as I understand it, I will not find a solution to my problem.

    Sparkett3
    Inspiring
    October 31, 2022

    Why won't it let me create a topic here?

    Participant
    May 31, 2023

    I Wanna see XBOX GAMEPASS please to Meta quest 2 ?

    New Participant
    December 18, 2022

    Hi, thanks a lot for providing the SDK now in UPM format!

    I noticed earlier that there has been a new v47 out for the Oculus Integration SDK for 4 days now.
    And I was wondering when the UPM repo will be updated with the new version?

    Thank you!

    KuWenHan
    New Participant
    April 3, 2023
    I'm trying to use https://npm.developer.oculus.com/ in Unity, I was able to download content without issue in v49, but after the official update to v50, I am no longer able to retrieve anything. I keep receiving the following error message:

     

    [Package Manager Window] Cannot perform upm operation: unable to verify the first certificate [NotFound]​

     

     
    I have already executed npm config set strict-ssl false in cmd to resolve a similar "UNABLE_TO_VERIFY_LEAF_SIGNATURE" error, but this method cannot be used in Unity to solve the issue.
     
    Are there any other methods to solve this problem?
    Thank you!
    Halfspacer
    Inspiring
    April 3, 2023

    Also seeing 

    [Package Manager Window] Cannot perform upm operation: unable to verify the first certificate [NotFound]

     

    Meta Employee
    April 4, 2023

    Halfspacer KuWenHan Hi folks - thank you for reporting this issue. We are aware and actively working on it.

    In the meantime for a workaround, please try visiting https://npm.developer.oculus.com/ and downloading the package tarballs directly. Then import them via UPM UI as local packages. 

    Meta Employee
    April 4, 2023

    Halfspacer KuWenHan 

    This issue should be resolved now.

    Again, thank you for your reports. And please feel free to post questions or discussions here whenever!

    Honored Contributor
    May 11, 2023

    First off, having the Oculus Utilities distributed through the PackageManager is much appreciated!

    Here is some feedback after taking a first look:

    • it seems the Interaction SDK ("Interaction" folder in the traditional Oculus Integration) is not yet available as a package? Same for the Platform SDK. Did I miss something, or are those not available yet as a package and is it planned to add these in the future?
    • the samples are not distributed using the officially recommended way but are distributed as a separate package instead. Any specific reason for this?
    • some assets like the ovr-platform-util are still being put under the Assets folder. I understand this is most likely a workaround due to Unity's Package Manager trying to prevent packages from downloading malicious executables, but I still think it would be nice to find a way here that doesn't clutter the assets folder. (Could ovr-platform-util be distributed as part of the Developer Hub instead?)
    • even if still tagged as experimental, the fact that this option to install as a package exists should be noted more prominently in the documentation and possibly even in places like the Asset Store. I think most people don't know the utilities are available as a package, but I'm sure it would be useful to many already. I don't think an installer would be needed, just a small section on how to set up the custom registry.
    Meta Employee
    May 13, 2023

    Interaction and Platform SDK were published today on (https://npm.developer.oculus.com/) 😉

    Participant
    May 31, 2023

    Hello Mouse Bear I'm Jameel Perkins asking is it possible that XBOX GamePass come to Meta Quest 2 please listen to my Feedback sir thank u if u can ?