Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

2019.2 alpha 6 PackageInfo.cs error

Discussion in '2019.2 Beta' started by Slowin, Feb 28, 2019.

  1. Slowin

    Slowin

    Joined:
    Mar 6, 2015
    Posts:
    62
    Hi,

    I just installed Unity 2019.2 alpha 6 and I receive this error message now:

    Library\PackageCache\com.unity.visualeffectgraph@5.3.1-preview\Editor\PackageInfo.cs(20,41): error CS0234: The type or namespace name 'Packages' does not exist in the namespace 'UnityEditor.PackageManager' (are you missing an assembly reference?)

    So there seems to be some problem with PackageInfo. Shader Graph and HDRP are both version 5.3.1

    Anything I can do here?

    Thanks
     
  2. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    Install HDRP 6.x.x version. Write in manifest.json:

    Code (JavaScript):
    1. {
    2.   "registry": "https://staging-packages.unity.com",
    3.   "dependencies": {
    4.    "com.unity.render-pipelines.high-definition": "6.4.0-preview",
    5.    "com.unity.visualeffectgraph": "6.4.0-preview", (if you use it)
    6.     etc...
     
  3. petersx

    petersx

    Joined:
    Mar 5, 2015
    Posts:
    239
    Confirm, HDRP 6.4.0 width 2019.1 alpha 6 working like a harm :))
     
  4. OfficialHermie

    OfficialHermie

    Joined:
    Oct 12, 2012
    Posts:
    585
    My manifest.json file does not have this line:

    "registry": "https://staging-packages.unity.com",

    Why is this line missing from my manifest.json file, or how do you know that it is has to be added?
     
  5. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Staging makes your package manager to seek the packages from staging registry. It's not enabled by default as these packages haven't passed QA checks yet. It's meant for testing purposes only. This is also why you see a lot of packages on staging that never make it to the regular registry.
     
    OfficialHermie likes this.