Can't remove packages due to dependency on latest Unity

I am trying to remove some packages from my project, but I can’t, due to dependencies.

Example, I am trying to remove Universal RP, I can’t because it uses Core RP, and I can’t remove Core RP because Universal RP needs it. So it is a looping dependency.

I am pretty sure it is new, and it is a hell to change packages. Once you’ve installed something you can’t uninstall anymore. It is not a good idea to block people from doing that. Pretty sure it started on the new unity versions. Unity 6 also have it. Before I could easily, install, test, and delete it.

Please, let us delete whatever we need like before.

Thank you

Did you check the “Dependencies” tab, as the tooltip suggests? There you should see what is preventing the removal under “Used By”.

In my case, “Universal RP” can be removed and isn’t used by anything, so it has to be something specific in your project that is using it.

You can always edit the manifest.json. It’s also way faster to just remove several lines all at once.

The Universal Render Pipeline is the default in Unity 6. You do not want to remove it in Unity 6 going forward, since BiRP is legacy and will be removed in Unity 7.

I think I was having issues deleting other packages as well. if you install the Multiplayer, for example.

This image was in 2023, I wanted to test a thing without the URP. So I hard to go to the package json and remove it manually, it worked.

Might’ve been locked because I downgraded from 6 to 2023 and there is a .lock file (I found it afterwards)

But I was working on a multiplayer project, I couldn’t remove the Netcode to replace it with PhotonNetwork. I had to downgrade Unity, delete it in the package manager, and upgrade again.

I guess what I want to say is, just trust people to not mess up stuff. No locking

Yes, I saw that. The problem is that I can’t delete anything because they depend on each other.

So was very painful to remove Netcode from my project, I had to downgrade the project to a version that didn’t lock me in, and then, upgrade it again.

I very much doubt that. Circular dependencies shouldn’t really occur. It’s much more likely that there were some other packages like URP Config or “feature sets” that require the other packages. In the future, screenshots of the dependencies tab and a copy of the manifest.json and packages-lock.json files would be useful.

That happened to me, maybe some bug from updating the project from 2023 to 6!

But when I tried to remove the Netcode I couldn’t because of the circular dependencies.