Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by quicksly · Sep 12, 2017 at 01:27 PM · google play gamesauthenticationdevelopment build

Google Play Services Authentication works only in Development Build?

I have the following flow in my Android game: Start in 'loader Scene' -> GPG Authentication -> PlayFab Authentication with GPG Token -> Load first 'play' scene.

When I build in Unity with the flag 'development build' set in the Build Settings Dialogue and run it on my phone, I get logged in fine and all works great. If I disable the flag and 'Build & Run' onto my Android phone, then it doesn't log in. The game just hangs on the 'loader Scene' forever and since I don't have logs, I don't know exactly what went wrong.

This is even before uploading it to Google - so the signing certificate I use is still the same (no GoogleSigning happened yet to screw this up) and since it's the same account and it worked on the dev version, I know my settings for the test account work also.

Has anybody else had a similiar issue? Is there some config file somewhere that I am not aware of that changes Google settings for a development build?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image quicksly · Sep 13, 2017 at 07:16 AM 0
Share

I stumbled across an Exception hidden in my log that hints at a problem in another SD$$anonymous$$ that might be softened in the development build.

Will investigate further....

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by quicksly · Sep 13, 2017 at 08:37 AM

Seems like my problem was unrelated to GPS in the end.

It turned out that my application had an exception because of a missing gameanalytics.jar that wasn't properly built into the game. Fiddling with the build settings resolved this and now it works fine for me.

However if you come across an issue like this, you want to check if your Google Play Service is released already! According to some sources it may cause problems. It wasn't for me in the beginning, so I did release it in the process. Now I cannot tell for sure if that was the issue. So please check that and maybe comment on this - for further generations - if it really is the release issue.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image KidGamingFTW · Apr 22, 2018 at 05:03 AM 1
Share

what did you do in the build settings? I have a basic sign in button and leaderboards but the sign in window doesnt even pop up when i released the game. It only pops up if i build it in development mode

avatar image pitrmain KidGamingFTW · Mar 07, 2019 at 09:59 AM 0
Share

same exact thing

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

77 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 5 - Google Play NO Authentication 1 Answer

Google Services work from APK but not from store 0 Answers

Google Play Games Services - authentication fails 4 Answers

Google Play Services authentication problem. Failing to sign in ! 6 Answers

Google Playgames sigin UI not appearing and not throwing any Error 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges