2019.2 alpha 6 PackageInfo.cs error

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

Install HDRP 6.x.x version. Write in manifest.json:

{
  "registry": "https://staging-packages.unity.com",
  "dependencies": {
   "com.unity.render-pipelines.high-definition": "6.4.0-preview",
   "com.unity.visualeffectgraph": "6.4.0-preview", (if you use it)
    etc...

Confirm, HDRP 6.4.0 width 2019.1 alpha 6 working like a harm :))

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?

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.

1 Like