Hafid Suhanizar
Hafid Suhanizar

Reputation: 119

how to fix package not found (render pipelines)?

An error occurred while resolving packages: Project has invalid dependencies: com.unity.render-pipelines.high-definition: Package [[email protected]] cannot be found com.unity.render-pipelines.universal: Package [[email protected]] cannot be found com.unity.shadergraph: Package [[email protected]] cannot be found

A re-import of the project may be required to fix the issue or a manual modification of manifest.json file

How do I fix this? I'm using Unity v2021.3

Upvotes: 7

Views: 27027

Answers (9)

Destroyanad
Destroyanad

Reputation: 1

Future Reference: Packages can be updated/removed/reinstalled via the package manager in unity. I had an issue when updating a project to a newer version, and had an issue with a package not being found. I went to the package manager and removed the problem package which solved the issue.

Upvotes: 0

Sonyck
Sonyck

Reputation: 196

Mine error popped up when I downloaded Unity sample project, it specifically said what version of unity it should ran on, however I did not want to download it, so I changed the unity version in Unity Hub (to one I had downloaded earlier) and on startup I got the package cannot be found.

If you also downloaded the project from somewhere and your version of Unity mismatches I recommend to update the packages to versions your Unity version supports, rather then reinstalling whole unity or completely removing the package as that could break the project.

Also I will add, the safest option is to actually run it on the correct version as the other version could introduce some breaking changes, but you can first try just downgrading or upgrading the URP package version (for you actually the HDRP) and see what happens.

Upvotes: 0

Rifat Hossain
Rifat Hossain

Reputation: 1

Just delete this line "com.unity.visualeffectgraph": "12.1.8", from (ProjectName\Packages\manifest.json), for my case (D:\Rifat\Unity Learning\Creative Core\Animation\Packages\manifest.json).

I hope you find this helpful.

Upvotes: 0

Vertiz
Vertiz

Reputation: 19

just go to the package manager then update the pipeline it will fix it it worked for me

Upvotes: 1

Mohamed Rabea
Mohamed Rabea

Reputation: 1

I had the same error and the only thing that works for me is going into Help Menu> reset packages to default

Upvotes: -1

user3184094
user3184094

Reputation: 51

In the project you want to upgrade to the Universal Render Pipeline, open the Package Manager window, change the Packages dropdown to Unity Registry, then search for Universal RP and click Install.

Upvotes: 2

GameDotPlay
GameDotPlay

Reputation: 141

I had a similar issue with Unity v2021.3.11f1 after importing the Terrain Tools and Sample Assets into my URP project:

Project has invalid dependencies:
    com.unity.render-pipelines.high-definition: Package [[email protected]] cannot be found

The solution is to close Unity, open the manifest.json file (ProjectName\Packages\manifest.json), which lists all project dependencies, one per line. Find the line that contains the invalid dependency, delete, ensure each line is still ended with a comma, save the file, open Unity and error should be gone.

Hope this helps somebody.

Upvotes: 14

xirururu
xirururu

Reputation: 5508

I got the same problem, my solution is simply to go to "package manager" in "unity registry", and update all the updatable packages, especially the "High Definition RP" and "Shade Graph", then the error is disappeared. :)

Upvotes: 4

AdmCdr132
AdmCdr132

Reputation: 36

I had similar issues with my unity editor (v2021.3), I had to do a fresh install of unity. Step 1: Uninstall the editor + hub through control panel, Step 2: Press Start (windows key) + R and type the following > %appdata% <, hit enter then delete, Unity, UnityHub, press the start button (windows key) and search recycling bin, open it and empty it.

Should work

Upvotes: 2

Related Questions