Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question com.unity.searcher error when install URP package

Discussion in 'Package Manager' started by macepok, Mar 10, 2021.

  1. macepok

    macepok

    Joined:
    Apr 18, 2019
    Posts:
    11
    I am using 2020.2.7 version to install URP package. Install is success but occur some error about Searcher

    upload_2021-3-10_15-45-5.png

    upload_2021-3-10_15-45-24.png

    Library\PackageCache\com.unity.searcher@4.3.1\Editor\Searcher\SearcherDatabase.cs(140,29): error CS0433: The type 'Task' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

    Library\PackageCache\com.unity.searcher@4.3.1\Editor\Searcher\SearcherDatabase.cs(147,28): error CS0433: The type 'Task' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

    Library\PackageCache\com.unity.searcher@4.3.1\Editor\Searcher\SearcherDatabase.cs(166,13): error CS0433: The type 'Task' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

    Library\PackageCache\com.unity.searcher@4.3.1\Editor\Searcher\SearcherDatabase.cs(202,29): error CS0433: The type 'Task' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

    Library\PackageCache\com.unity.searcher@4.3.1\Editor\Searcher\SearcherDatabase.cs(211,28): error CS0433: The type 'Task' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

    Library\PackageCache\com.unity.searcher@4.3.1\Editor\Searcher\SearcherDatabase.cs(235,13): error CS0433: The type 'Task' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
     
  2. UnityMaru

    UnityMaru

    Community Engagement Manager Unity Technologies

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hey there!

    Is this a package you knowingly installed or perhaps came as a dependency when you installed URP?

    if you aren't sure, could you attach your project manifest? We should be able to identify if it's a URP dependency or not based on if there's a specific entry for com.unity.searcher in the manifest or not.

    The manifest can be found here: https://docs.unity3d.com/Manual/upm-manifestPrj.html
     
  3. zwcloud

    zwcloud

    Joined:
    Mar 15, 2016
    Posts:
    377
    upload_2022-8-24_0-37-9.png

    Just ran into this issue. Can I just disable the searcher?

    Unity 2020.3.12f1