-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library issues upon import (Task type) #174
Comments
Did you find a solution to this? I am currently facing the same issue |
I ended up just not using Google Sign-in Package. Sorry. |
No problem! If anyone still needs this, this pull request did gods work for me: #126 if you want to download the unitypackage directly: #126 (comment) hope this saves a bit of time for somebody |
To fix this error: Go to Parse/Plugins folder and delete Unity.Compat.dll & Unity.Tasks.dll |
Is this tool really made for Unity? Why it will cause compile error even import in a new Unity project.. |
It work for me on macOS |
check the latest release date and you will get it! |
maybe it's a problem from EDM4U, not a problem from this plugin! Please use the latest EDM4U and try again! |
In recent versions of Unity (for example 2020.1.3f1), the Google Sign-in Package contains compilation errors that prevens Unity from building or playing.
The errors are:
Library\PackageCache\[email protected]\Editor\Models\Providers\Collab.cs(740,30): error CS1983: The return type of an async method must be void, Task or Task<T>
Library\PackageCache\[email protected]\Editor\Models\Providers\Collab.cs(740,25): 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'
Library\PackageCache\[email protected]\Editor\Models\Providers\Collab.cs(782,27): error CS0433: The type 'Task<T>' 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'
Because these errors are in the PackageCache, they cannot be directly fixed by the plugin users since they are regenerated every compilation.
Can this be fixed, or is there an existing workaround?
The text was updated successfully, but these errors were encountered: