Reputation: 319
After deleting and installing Unity due to a problem it caused me, these errors appeared in the console. I've already tried to reinstall Unity but they won't go away.
EDIT: I get these errors in every project I open.
Upvotes: 13
Views: 35083
Reputation: 448
Open your project in Unity first.
Then follow these steps.
%LocalAppData%\Unity\cache\packages\packages.unity.com
(C:/Users/Your User Name(Utente for this question)/AppData/Local/Unity/cache/packages/packages.unity.com - The path that is shown in error)Upvotes: 19
Reputation: 7063
I was able to get rid of all missing packages compilation errors by reimporting all packages:
Upvotes: 3
Reputation: 7
The best option to handle this issue is to remove these (2) folders:
Create a new Unity project in the same editor version.
Then copy both above folders from the new project and paste them in the original projects Library folder.
!Important! Make sure the original project is closed!
Upvotes: -2
Reputation: 176
I don't know exactly how, but updating the Package Manager UI worked for me.
Window -> Package Manager -> Package Manager UI
Upvotes: 1
Reputation: 1370
I usually go to the Project Tab and Right Click on the Assets Folder and click "Reimport All".
Depending on wicht version of Unity this could happen more often that you want... f.e. using an Alpha Version.
I find it faster only reimporting than deleting files and importing again.
Upvotes: 2
Reputation: 91
for me clicking reset packages to defaults in advanced of the package manager window
Upvotes: 7