Error when creating new projects

Hi,

So I’m new to Unity and still going through tutorials and guides, have just done some stuff related to prefabs, so not that far in.

When I started a new Project I keep on getting the errors below, with no idea why they have appeared and how to get rid of them:

Library\PackageCache\com.unity.ide.rider@3.0.15\Rider\Editor\RiderScriptEditorData.cs(1,1): error CS1056: Unexpected character ’

Library\PackageCache\com.unity.ide.visualstudio@2.0.16\Editor\Messaging\Serializer.cs(1,1): error CS1056: Unexpected character ’

Library\PackageCache\com.unity.testtools.codecoverage@1.0.1\Editor\CoverageFormats\OpenCover\Model\Class.cs(1,1): error CS1056: Unexpected character ’

Any help would be amazing, if this has happened before and theres another post, please let me know, I have searched but I cannot find anything.

Thank you in advance.

I’m having the same problem.

Extra unwanted packages in new projects (collab, testing, rider and other junk):

About the fastest way I have found to make a project and avoid all this noise is to create the project, then as soon as you see the files appear, FORCE-STOP (hard-kill) Unity (with the Activity Manager or Task Manager), then go hand-edit the Packages/manifest.json file as outlined in the above post, then reopen Unity.

Sometimes the package system gets borked from all this unnecessary churn and requires the package cache to be cleared: