Search Unity

Problem to import Xbox-live-plugin

Discussion in 'Windows' started by Schumaker, Oct 6, 2019.

  1. Schumaker

    Schumaker

    Joined:
    Jul 14, 2016
    Posts:
    40
    Hello,
    After import the package i have this error on the console:
    Library\PackageCache\com.unity.textmeshpro@2.0.1\Scripts\Editor\TMP_PackageUtilities.cs(310,17): 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'​

    I tried to full qualify the class using System.Threading.Tasks.Task but the error continues.
    Any ideas?

    regards,
    Hudson Schumaker
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,678
    Looks like you have "Unity.Tasks.dll" file in your project and it contains System.Threading.Tasks.Task class. You'll have to remove that DLL from your project.
     
    Schumaker likes this.
  3. Lighthammer34

    Lighthammer34

    Joined:
    Feb 5, 2017
    Posts:
    2
    I get the exact same error in different versions of unity, even from a blank project, it also doesn't load the Xbox live tab at the top so can't get into the config manager for Xbox, seems to be ok on 2018.3 but anything after that same error and no xbox live tab
     
  4. Schumaker

    Schumaker

    Joined:
    Jul 14, 2016
    Posts:
    40