Search Unity

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:
    540
    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:
    3
  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.