This project contains one or more deprecated packages.

Hi Everyone

For the past couple of months I have been receiving the following message every time I create a new URP product and it is now starting to drive me crazy LOL.

This project contains one or more deprecated packages. Do you want to open Package Manager

I have also attached a screenshot.

Interestingly, it is only if I create a URP project, HDRP and Builtin and 2D don’t show me the dialog box and it is always Visual Studio Code Editor that is showing as deprecated, but as mentioned ONLY with URP project.

I have tried clearing (deleting) my package and npm cache but it makes no difference what so ever.

Is there somewhere else that holds package information for new projects?

Side note: On another PC, identical Unity Hub version and Unity version, create URP project and I do not get the problem.

Thanks in advance for any assistance.

Remove the VS Code package. It has been deprecated. Microsoft published their own VS Code package but I believe this is still experimental so isn‘t visible in Package Manager unless you enable prerelease packages in project settings.

Hey CodeSmile. yeah I do just remove it but it is annoying to have to do it when I start a new project (I do training videos so start a lot of new projects as part of the training) I don’t have prerelease packages enabled and this is only happening on one machine.
I litereally just started another project on the laptop I am typing this on and it didn’t include the package, everything is fine, then I just went and started another new project on my desktop… and same message about deprecated package

I figure it has to be cached somehow to include it in new URP 3D projects on this one machine, it is so bizarre.

As mentioned I even deleted the cached package and npm folders and no change.

Weird that it would happen here but not there.

Perhaps there’s an alternative. I believe there is a way to make your own templates for the Hub to base projects on:

Tutorial: Unity : Custom Templates in 5 Minutes – Fist Full of Shrimp

I also checked the Hub docs but they didn’t mention an ‘official’ way of creating custom templates.