Search Unity

Package manager related compilation issues, how to fix?

Discussion in 'Editor & General Support' started by andrew210, Feb 24, 2019.

  1. andrew210

    andrew210

    Joined:
    Apr 23, 2014
    Posts:
    158


    Hello, I'm having some issues with what I believe is a problem with the package manager. It's showing some errors related to PopupField.cs (part of a built in package with unity). This is with 2018.3.6f1

    What I've tried to do to fix this so far:

    - Original Idea was to open package manager and disable and re-enable the packages in use, as shown on screenshot package manager is not to be found.

    - Help -> Reset Packages to Defaults

    - Reimport all

    - Delete library and temp folders of project

    - Delete unity, all unity folders in AppData and Program files and reinstall

    Nothing I've tried so far has worked, are there any other steps I can try?
     
  2. cscrowley

    cscrowley

    Joined:
    Nov 20, 2017
    Posts:
    2
    Me three.
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    3,573
    Try deleting the Packages folder in your project and then start the editor.
     
  4. austin-beck

    austin-beck

    Joined:
    Oct 28, 2015
    Posts:
    7
    I've had to delete it from a couple places on a couple coworkers' computers. On Windows, I deleted Library\PackageCache in your project, AppData\Local\Unity\packages, and AppData\Roaming\Unity\Packages and it's fixed it in all three (maybe 4?) instances.

    One time, though, what looked like a package compilation issue turned out to be a problem with our project failing to compile the managed assembly. For some reason, though, it didn't show up in the console so I'd check the editor log for compilation errors if my first suggestion doesn't fix it.
     
  5. andrew210

    andrew210

    Joined:
    Apr 23, 2014
    Posts:
    158
    Thanks for your help all! I deleted the manifest.json file (same as what karl suggested) which seemed to sort this out. Thanks again
     
    karl_jones likes this.