googlesamples/google-signin-unity

Ambiguous reference: System.Threading.Tasks

WikyWu opened this issue · 3 comments

Hello, when i use the plugin, some error occurred.

Unity version: 2019.4.27f1
Google SignIn Unity version: 1.0.4

Ambiguous reference: System.Threading.Tasks.TaskCompletionSource System.Threading.Tasks.TaskCompletionSource match

EFC189B9-3847-4949-8BF8-D6A1D8E7AF40

Hello, Have you found a solution? I have the same problem. Thank you.

EDIT : it seems that the errors went away by doing this :

  • in Unity go to Assets/Parse/Plugins
  • There should be two files : Unity.Compat and Unity.Tasks, select them
  • in the Inspector window, uncheck "Auto Reference" for both files. (don't forget to click Apply)

Now we'll see if this will cause any problem in the future or not

quddi commented

Hello, Have you found a solution? I have the same problem. Thank you.

EDIT : it seems that the errors went away by doing this :

  • in Unity go to Assets/Parse/Plugins
  • There should be two files : Unity.Compat and Unity.Tasks, select them
  • in the Inspector window, uncheck "Auto Reference" for both files. (don't forget to click Apply)

Now we'll see if this will cause any problem in the future or not

Worked for me, thx a lot🦾