google-signin-unity icon indicating copy to clipboard operation
google-signin-unity copied to clipboard

error CS0433: The type 'Task' exists in both Unity.Tasks,....

Open pascalf1309 opened this issue 5 years ago • 6 comments

Tried both the example app and the plugin for unity, they unfortunately both throw this error upon opening unity for the first time with it, before running or even editing code.

pascalf1309 avatar Nov 26 '19 21:11 pascalf1309

Remove the 2 files unity.compat and unity.tasks from the parse folder. Make sure you do not delete it from inside the dotNet45 folder. That'll resolve the error

shubhamguptak avatar Nov 27 '19 07:11 shubhamguptak

due to this error disappears package "UnityEngine.UI". Help me pls...

crazy78cyxapuk avatar Jan 12 '20 01:01 crazy78cyxapuk

Remove the 2 files unity.compat and unity.tasks from the parse folder. Make sure you do not delete it from inside the dotNet45 folder. That'll resolve the error

Make sure you also enable the dlls within the dotNet45 folder

bellicapax avatar Apr 04 '20 23:04 bellicapax

due to this error disappears package "UnityEngine.UI". Help me pls...

  1. Check on your /Library/ScriptAssemblies/ for UnityEngine.UI
  2. If exist add this ref to your .csproj
<Reference Include="UnityEngine.UI">
<HintPath>Library/ScriptAssemblies/UnityEngine.UI.dll</HintPath>
</Reference>

This should fix it.

ydniw avatar Apr 19 '20 15:04 ydniw

@bellicapax – Hi Thanks!

Make sure you also enable the dlls within the dotNet45 folder

Curious what constitutes "enabling? Is the following enabled?

DLL

jonahgoldsaito avatar May 19 '22 01:05 jonahgoldsaito

Remove the 2 files unity.compat and unity.tasks from the parse folder. Make sure you do not delete it from inside the dotNet45 folder. That'll resolve the error

super nice!!!!!

SunhuchuY avatar Dec 10 '23 07:12 SunhuchuY