Unity 2018.2版本接入Google Play Game

2018-10-28  本文已影响36人  LiGoEX
开发环境

接入

参考官方文档 https://github.com/playgameservices/play-games-plugin-for-unity

注意

1)没有完成OAuth认证设置:
1.Google Play Console -> Select your app -> Release Management -> App signing -> "Upload certificate" copy SHA-1 (dont copy word 'SHA1:')
2. open https://console.developers.google.com/ , select your project -> credentials -> OAuth 2.0 client IDs -> Edit OAuth client -> Signing-certificate fingerprint -> replace the old SHA1 with copied SHA1 ->save.
3. open you game, you should get sign in -> email selection -> select testers email. Google Play Games Services should work fine now."

2).没有设置测试账号
11540716964_.pic_hd.jpg

参考:
https://answers.unity.com/questions/1357666/google-play-games-services-authentication-fails.html
https://github.com/playgameservices/play-games-plugin-for-unity/issues/2013

上一篇 下一篇

猜你喜欢

热点阅读