Skip to content

Library issues upon import (Task type) #174

Open
@Clicksurfer

Description

@Clicksurfer

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions