Firebase auth in editor
Is there a way to run firebase Google Sign In in editor. Currently I'm using Firebase SDK and (Google Sign In).
If I target PC standalone and run in editor it says platform not supported, if I target android and run in editor it says
NullReferenceException: Object reference not set to an instance of an object
Google.Impl.GoogleSignInImpl.GetPlayerActivity () (at Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs:180)
On firebase unity support it says authetication can be run from editor, but I just can't get it to work. P.S It works normally on Android.
same here. and from the looks of it. this community is dud about this or just do not want to answer
NullReferenceException: Object reference not set to an instance of an object
Google.Impl.GoogleSignInImpl.GetPlayerActivity () (at Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs:180)
Google.Impl.GoogleSignInImpl..ctor (Google.GoogleSignInConfiguration configuration) (at Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs:31)
Google.GoogleSignIn.get_DefaultInstance () (at Assets/GoogleSignIn/GoogleSignIn.cs:91)
FirebaseAuthScript.signInGoogle () (at Assets/Scripts/login.cs:55)
I searched around a bit, tried some stuff, and it seems like it isn't possible. While FirebaseAuth is supported in editor, Google sign-in isn't. So, you can use it, if you make your own login system but you can't use it, if you use Google sign-in. I might be wrong, but that's what I found... and gave up, since my android build times are only around a 1 $$anonymous$$.