Search Unity

unity.package-manager-ui can't build because it doesn't exist

Discussion in 'Package Manager' started by TheSlate, Sep 11, 2018.

  1. TheSlate

    TheSlate

    Joined:
    Apr 13, 2013
    Posts:
    6
    My project can't compile in external source editors due to none of the packages being installed locally to my project:

    Unity.PackageManagerUI.Editor
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\AssemblyInfo.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\External\SemVersion.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\External\SemVersionExtension.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Common\ApplicationUtil.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Common\OperationSignal.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Common\Resources.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Common\ThreadedDelay.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Interfaces\IAddOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Interfaces\IBaseOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Interfaces\IListOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Interfaces\IOperationFactory.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Interfaces\IRemoveOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Interfaces\ISearchOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\OperationFactory.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\Package.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageCollection.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageFilter.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageGroupOrigins.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageInfo.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageInfoListExtensions.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageListExtensions.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageOrigin.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageState.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Packages\PackageTag.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Upm\UpmAddOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Upm\UpmBaseOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Upm\UpmListOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Upm\UpmOperationFactory.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Upm\UpmRemoveOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\Services\Upm\UpmSearchOperation.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\Common\Alert.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\Common\LoadingSpinner.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\Common\PopupField.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\Common\UIUtils.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\Common\VersionItem.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\Interfaces\IPackageManagerExtension.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\PackageDetails.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\PackageGroup.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\PackageItem.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\PackageList.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\PackageManagerExtensions.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\PackageManagerWindow.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\PackageSearchFilterTabs.cs' could not be found.
    Source file 'C:\projects\wilddog\Packages\com.unity.package-manager-ui\Editor\Sources\UI\PackagesLoading.cs' could not be found.

    Am I supposed to copy these files from the cache in my appdata or is this a bug?

    Also, my project is not dependent on any of this code. Why is unity forcing a dependency on it or is that too a bug?

    I am experiencing the same problem with every package I'm using from package manager:
    Unity.PackageManagerUI.Editor
    Unity.TextMeshPro
    Unity.TextMeshPro.Editor
    UnityEditor.StandardEvents
     
  2. TheSlate

    TheSlate

    Joined:
    Apr 13, 2013
    Posts:
    6
    My specs:
    Rider 2018.2.2
    Unity 2018.2.6f1
    TextMesh pro 1.2.4 from package manager
    Package Manager UI 1.9.11
     
  3. MaxPirat

    MaxPirat

    Joined:
    Sep 7, 2015
    Posts:
    10
    If anyone has the same problem the solution is to update Visual Studio. You can do this from Notification windows in Visual Studio, there will be a notification about a new version being available.
     
    Bhazan, Cuculain and TheSlate like this.
  4. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Thanks @MaxPirat for the solution.
    Apologies you ran into this issue, @TheSlate, I'll discuss with the dev-team to see if there is something we can do to reduce this type of attrition.

    Cheers,
    Pedro
    Unity STE
     
    TheSlate likes this.
  5. TheSlate

    TheSlate

    Joined:
    Apr 13, 2013
    Posts:
    6
    I didn't have a notification, so I must have ignored it. Manually running the VS updater fixed things.
     
  6. DustyDreamer

    DustyDreamer

    Joined:
    Nov 12, 2013
    Posts:
    3
    I have the same problem
     
  7. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
  8. CyRaid

    CyRaid

    Joined:
    Mar 31, 2015
    Posts:
    80
    I'm having a similar error, but instead of saying not found it says "Script 'Packages/com.unity.package-manager-ui/Editor/Sources/Services/Common/ApplicationUtil.cs' will not be compiled because it exists outside the Assets folder and does not to belong to any assembly definition file.
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:CompileScripts(EditorScriptCompilationOptions, BuildTargetGroup, BuildTarget)"

    This happened after upgrading to 2019.1.11f1 from 2019.1.8f1. I'm on Windows 10, and have Visual Studio 2019 (Visual Studio is fully up to date).