I seem to have a major problem with any recent Unity release. Testing on latest 2018.2.1f1 as of this post. I was trying to upgrade my project and was getting all kinds of build errors. Boiled it down to this:
- The PackageManager is not downloading any script files to my local project directory for the default packages it uses in all projects.
- Building the project in Visual Studio errors out with 133 failures: all related to looking for script files that don’t exist. So the package manager creating all the project directories, but no script files exist. For example, this directory is empty: [project_root]\Packages\com.unity.textmeshpro\Scripts\Runtime
- In Unity, I can find those files, but they are trying to pull from a cached version of the script. For example, navigating to this file and opening, will open in Visual Studio from this location: C:\Users[user_name]\AppData\Local\Unity\cache\packages.unity.com\com.unity.textmeshpro@1.2.4\Scripts\Runtime\FastAction.cs
Has anyone else had this problem? Reinstalling Unity has not helped me. I can replicate this by creating a brand new empty 2d project. Just adding a blank script to the project and trying to build in Visual Studio fails.