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:
    29
    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:
    6,540
    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.