Open coxlin opened 5 years ago
Had the same issue when using .Net 4.x Scripting Runtime Version (shown in PlayerSettings->OtherSettings->Configuration). The plugin is apparently setup by default to be configured for .Net 3.5. In the below link about half way down there's a gif showing what to do so that he plugin is configured for use with the .Net 4.x runtime.
We've added additional scripting runtime support to the Xbox Live Unity Plugin, starting with version "1711 Release". By default, the plugin is configured to run in the Unity editor with the .NET scripting backend and scripting runtime version of .NET 3.5. If your project is using the scripting runtime version of .NET 4.6, you will need to configure the plugin to work properly in the editor:
Assets\Xbox Live\Scripts\UnityTaskExtensions.cs(13,61): 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'
The above error occurs when I import the package into my project. Any ideas?