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

Conflict between Unity and netstandard

Open AldeRoberge opened this issue 6 years ago • 9 comments

On creating a new Unity project (2018.4.8f1) and importing the following packages : google-signin-plugin-1.0.4.unitypackage and GoogleSignIn-sample.unitypackage,

I get this error :

Assets\GoogleSignIn\GoogleSignIn.cs(117,12): error CS0433: The type 'Task<T>' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

image

image

When I click on the first or second option, nothing happens.

Is this a problem with Unity? It didn't happen before importing the packages.

AldeRoberge avatar Sep 26 '19 04:09 AldeRoberge

For some reason the problem vanished after the second reboot. If you can't reproduce this, count it as not worthy of being investigated.

AldeRoberge avatar Sep 26 '19 05:09 AldeRoberge

2017.4.30f1(LTS) same problem occurred

image

NamidaEro avatar Sep 26 '19 07:09 NamidaEro

This is due to Parse. By removing the Parse folder from imports, it fixed the problem.

AldeRoberge avatar Oct 01 '19 08:10 AldeRoberge

This is due to Parse. By removing the Parse folder from imports, it fixed the problem.

This worked for me. Thank you!

dennis-gonzales avatar Mar 20 '20 05:03 dennis-gonzales

Bump, I also have this problem, but need the files for firebase

dnovacik avatar Jan 10 '21 16:01 dnovacik

Hi,

I had the same problem. I deleted "Parse" folder and then again import custom package first google-signin-plugin package after that firebaseAuth package in this order, it helped me.

kupiecc avatar Feb 05 '21 10:02 kupiecc

In my case I just removed the Assembly which targeted dot-net 3.5 in pars folder.

AminSojoudi avatar Mar 16 '22 22:03 AminSojoudi

Bump, I also have this problem, but need the files for firebase

Any solution update for this? I'm facing the same issue. Cannot remove the files as firebase needs them.

rcj9719 avatar Jun 01 '22 21:06 rcj9719

I am still trying to fix this issue, any solutions? I can't delete the parse folder because I need the files for firebase

LightPat avatar Mar 13 '24 23:03 LightPat