Skip to content
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

The sample project is stuck on "Calling Signing In" #250

Open
Gurwar opened this issue Jan 19, 2024 · 3 comments
Open

The sample project is stuck on "Calling Signing In" #250

Gurwar opened this issue Jan 19, 2024 · 3 comments

Comments

@Gurwar
Copy link

Gurwar commented Jan 19, 2024

I set up the unity package for this project as well as the sample project within my VR project for the Quest 2. After fixing all the errors I built it to my device and set it to call OnSignIn() on Start(). There were no errors and through debug logs I noticed that although this line of code is run, the program never actually makes it to OnAuthenticationFinished().
GoogleSignIn.DefaultInstance.SignIn().ContinueWith(OnAuthenticationFinished);

Although OnSignIn is called during start, there is no popup for google login or anything like that.

@Xranitell
Copy link

I set up the unity package for this project as well as the sample project within my VR project for the Quest 2. After fixing all the errors I built it to my device and set it to call OnSignIn() on Start(). There were no errors and through debug logs I noticed that although this line of code is run, the program never actually makes it to OnAuthenticationFinished(). GoogleSignIn.DefaultInstance.SignIn().ContinueWith(OnAuthenticationFinished);

Although OnSignIn is called during start, there is no popup for google login or anything like that.

Do you solve your problem? If so, can you tell me how?

@Gurwar
Copy link
Author

Gurwar commented Jan 30, 2024

I used this asset to setup google login https://assetstore.unity.com/packages/tools/integration/simple-google-sign-in-250663

@hungpv3112
Copy link

I set up the unity package for this project as well as the sample project within my VR project for the Quest 2. After fixing all the errors I built it to my device and set it to call OnSignIn() on Start(). There were no errors and through debug logs I noticed that although this line of code is run, the program never actually makes it to OnAuthenticationFinished(). GoogleSignIn.DefaultInstance.SignIn().ContinueWith(OnAuthenticationFinished);

Although OnSignIn is called during start, there is no popup for google login or anything like that.

Are you run Resolve before build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants