Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

How to use both 'packages' and 'staging-packages'.

Discussion in 'Package Manager' started by B0dg3, Jun 1, 2018.

  1. B0dg3

    B0dg3

    Joined:
    Jun 1, 2018
    Posts:
    2
    I was attempting to use both previews of VectorGraphics and the Unity ECS in the same project, they use different registry values. One being "staging-packages":

    {
    "dependencies": {
    "com.unity.vectorgraphics": "1.0.0-preview.7"
    },
    "registry": "https://staging-packages.unity.com"
    }

    and the other uses "packages":

    {
    "dependencies": {
    "com.unity.incrementalcompiler": "0.0.42-preview.1",
    "com.unity.entities": "0.0.12-preview.4"
    },
    "registry": "https://packages.unity.com",
    "testables": [
    "com.unity.collections",
    "com.unity.entities",
    "com.unity.jobs"
    ]
    }


    I've attempted to combine them, but no luck. Is there anyway to combine them or is there something else I'm missing?

    Cheers
     
  2. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    721
    Hi @bodge255,

    Everything that is on the *production* registry (packages.unity.com) is also on the staging registry (staging-packages.unity.com). Staging is a superset of production.

    So, in your case, you should only set *https://staging-packages.unity.com* and it should work.

    Regards,

    Pascal
     
    roclau0102 and supron like this.
  3. van800

    van800

    Joined:
    Mar 10, 2018
    Posts:
    7
  4. erick_unity

    erick_unity

    Unity Technologies

    Joined:
    Jan 4, 2017
    Posts:
    41
    Hi @van800 the staging registry (which was initially created as a Unity internal work in progress registry) has been decommissioned, we are no longer pushing packages in development there.
     
unityunity