<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2224219769591924917</id><updated>2024-09-05T17:24:46.760-07:00</updated><category term="Android"/><category term="Google Play Games"/><category term="Unity"/><title type='text'>Laziness with IDEAS</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kyokurosagi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2224219769591924917/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://kyokurosagi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kyo Kurosagi</name><uri>http://www.blogger.com/profile/18296388920392974497</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2224219769591924917.post-6443541378911707102</id><published>2017-05-22T03:47:00.001-07:00</published><updated>2017-05-29T03:08:54.864-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Play Games"/><category scheme="http://www.blogger.com/atom/ns#" term="Unity"/><title type='text'>UNITY: Local login with Unity (Android)</title><content type='html'>I found myself a lot of log in problem with Unity. And I finally found the solution, thanks to &lt;a href=&quot;http://stackoverflow.com/&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;stackoverflow.com&lt;/b&gt;&lt;/a&gt;, &lt;a href=&quot;https://github.com/playgameservices/play-games-plugin-for-unity&quot; target=&quot;_blank&quot;&gt;https://github.com/playgameservices/play-games-plugin-for-unity&lt;/a&gt;,&amp;nbsp;&lt;b&gt;Unity course&lt;/b&gt; I had attended.&lt;br /&gt;
&lt;div&gt;
Here is step by step need to be done.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2&gt;
Let&#39;s get &lt;span style=&quot;color: red;&quot;&gt;HEADACHE&lt;/span&gt;&lt;/h2&gt;
&lt;h3&gt;
&lt;b&gt;1) Create a project apk out from Unity Engine.&lt;/b&gt;&lt;/h3&gt;
&lt;div&gt;
- When you want to start create create an apps from Unity Engine, please do not import Play Games Service yet. Do it after you upload apk file to Google Play Console.&lt;/div&gt;
&lt;div&gt;
- Make sure Package Name had been changed.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKw5YxFDqHegp2tVuldsT6B-ohlj1nccYRkz0HtKkz23QB0fSwhmf5UxKDl8oPaQ3U85vYtkzPMcbUk8YvKzWWv9t8YI7Mg8Qs_NL7jmaPTCjKWFczBDLz-VSYRnFXFLycMmDEy6Hxcq4g/s1600/UnityPackageName.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKw5YxFDqHegp2tVuldsT6B-ohlj1nccYRkz0HtKkz23QB0fSwhmf5UxKDl8oPaQ3U85vYtkzPMcbUk8YvKzWWv9t8YI7Mg8Qs_NL7jmaPTCjKWFczBDLz-VSYRnFXFLycMmDEy6Hxcq4g/s1600/UnityPackageName.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Create a keystore if don&#39;t have.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj76YY3AJhugdrNTFOuJ0HxAGAZiCU_7PoamXa5GWX_iwNwFP7cufpUY6U7FnM5cJunTCA67hUWO6xM2adx2D2E3u2kBrIhAIBYoisokFH4axU5P2x52ab-2dfb0Bhek52FV-a-59GBOGw5/s1600/KeyStore.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj76YY3AJhugdrNTFOuJ0HxAGAZiCU_7PoamXa5GWX_iwNwFP7cufpUY6U7FnM5cJunTCA67hUWO6xM2adx2D2E3u2kBrIhAIBYoisokFH4axU5P2x52ab-2dfb0Bhek52FV-a-59GBOGw5/s1600/KeyStore.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
- Build your android apps&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYmTpsviTiGePelrDntSioif96nET5C8HH9OBG_0xAFESAY9JqrDe9VGuNO_F5ZEw7_lcF-d5mUqJc8MHOZ32ubO0CaKo7iGmtWVuVBpRC1fXkTHL2I3bjxN0LI_BMcTe_hoA06ph-YI6J/s1600/BuildGame.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;619&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYmTpsviTiGePelrDntSioif96nET5C8HH9OBG_0xAFESAY9JqrDe9VGuNO_F5ZEw7_lcF-d5mUqJc8MHOZ32ubO0CaKo7iGmtWVuVBpRC1fXkTHL2I3bjxN0LI_BMcTe_hoA06ph-YI6J/s640/BuildGame.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- After build, it will open a folder with a apk file.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
&lt;b&gt;2) Upload to Google Play Console Alpha Test.&lt;/b&gt;&lt;/h3&gt;
- Go to&amp;nbsp;&lt;a href=&quot;https://play.google.com/apps/publish&quot; target=&quot;_blank&quot;&gt;https://play.google.com/apps/publish&lt;/a&gt; (If you can&#39;t get in, please purchase Google developer license with Gmail Account)&lt;/div&gt;
&lt;div&gt;
- Create new application&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc9Yo1ShK5sqjJkwWun3IVPPE1PBE8osyOON7DhjfiW1n0VYHf3csJg7NIPz-HHuxDpapRnYoD8-4K0S1g8IRj2gSV_guNJDvgFliOhzx38242Na2Fw7O-CZ8Up5JBvt5XRqxtK7LFZqfR/s1600/CreateApplication.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc9Yo1ShK5sqjJkwWun3IVPPE1PBE8osyOON7DhjfiW1n0VYHf3csJg7NIPz-HHuxDpapRnYoD8-4K0S1g8IRj2gSV_guNJDvgFliOhzx38242Na2Fw7O-CZ8Up5JBvt5XRqxtK7LFZqfR/s1600/CreateApplication.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Enter title name and start create. (may need wait a while for google to create a new application for you.&lt;/div&gt;
&lt;div&gt;
- After success, you will be auto redirect into application settings. If not, just choose your application from the list.&lt;/div&gt;
&lt;div&gt;
- Choose App releases on left side, and click on Manage Alpha as below. Then click &lt;b&gt;Create Release.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOFxXvfrlgw6W6BzhqF49Y6Tzz_U0SoKHWSgwTPipQPmk3YnA5sFHnKcAASpChZBFEMxfekzCcB37uCI_8MW9l73pnqMh5Q9DL_46CUJ25jbVoyPwBUfRNLmy3bT0din-S_ooOc0mcRhKk/s1600/UploadAlpha.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOFxXvfrlgw6W6BzhqF49Y6Tzz_U0SoKHWSgwTPipQPmk3YnA5sFHnKcAASpChZBFEMxfekzCcB37uCI_8MW9l73pnqMh5Q9DL_46CUJ25jbVoyPwBUfRNLmy3bT0din-S_ooOc0mcRhKk/s1600/UploadAlpha.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Just Enrol to get Google Play App Signing.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq2ApzhvWUWE_XFucwAk_702cO4Dk_HLhQD7cc89cWTIg4Psy8gKZQm0AOVCbSphL4WcgO3Kj3EK3AHDR349G4mIvAxtgCjq1zFU2VS2sL2VZXUfpTT1zQWs-OOYDSud0h95yV0wQMyA0k/s1600/GoogleEnrol.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq2ApzhvWUWE_XFucwAk_702cO4Dk_HLhQD7cc89cWTIg4Psy8gKZQm0AOVCbSphL4WcgO3Kj3EK3AHDR349G4mIvAxtgCjq1zFU2VS2sL2VZXUfpTT1zQWs-OOYDSud0h95yV0wQMyA0k/s1600/GoogleEnrol.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Now, start upload your apk file.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlvDmu0vJig0WmWDnbeEKnuEPEPU4Izdz3Zn2ZIZCc2xAKCqBGFxu7TwVSkllK95M6mQJkDCYvOJx5K5UGfPfTDGxHys8JdZyP1DYURL0ScNfYNGLch8QzJLrQWj5QU3zipcB35U0MbSxT/s1600/UploadApk.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlvDmu0vJig0WmWDnbeEKnuEPEPU4Izdz3Zn2ZIZCc2xAKCqBGFxu7TwVSkllK95M6mQJkDCYvOJx5K5UGfPfTDGxHys8JdZyP1DYURL0ScNfYNGLch8QzJLrQWj5QU3zipcB35U0MbSxT/s1600/UploadApk.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Once done upload, click All Application on top left list to back to main menu.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;b&gt;3) Create new Game Service and link to uploaded application&lt;/b&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcoEHKvr3bQ9jWEc5tL6kILzMi_kecwiBFFugugBctY199rION9kQrRAosP7Bgu18v4yejQBhMiUvZCM0oZNnU59Si2ajwNXsi814nWGfzJwv38Ld8_ydwFAZBHAU6vJ-6IUEUWRFy5AKe/s1600/CreateGameService.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcoEHKvr3bQ9jWEc5tL6kILzMi_kecwiBFFugugBctY199rION9kQrRAosP7Bgu18v4yejQBhMiUvZCM0oZNnU59Si2ajwNXsi814nWGfzJwv38Ld8_ydwFAZBHAU6vJ-6IUEUWRFy5AKe/s1600/CreateGameService.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Key in game name and choose game type and click Continue. (May need to wait few minutes)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMr53yJ_cPjKHHooq-0w8tcXsX8AOS2sPNvgcbt5lig4RfVEh5Fu-eVXlqk95VIPO5CDswidqrllQykuOjcv2BEF01UFr7xb8Q2GxCZo4FZcY0b464aLxDGUHJT9c89ACG4I0_AaiLmsXT/s1600/NewGameService.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMr53yJ_cPjKHHooq-0w8tcXsX8AOS2sPNvgcbt5lig4RfVEh5Fu-eVXlqk95VIPO5CDswidqrllQykuOjcv2BEF01UFr7xb8Q2GxCZo4FZcY0b464aLxDGUHJT9c89ACG4I0_AaiLmsXT/s640/NewGameService.png&quot; width=&quot;610&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- In linked apps, choose Android.&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZs1nkmMZNoTQO1_e6gVJAUvkxSW_U-vq1JLunJ22riG_5cExa3Opbyynw0X18HqD7dRwwkRVQkDIzE135XtEcxec40yUW2C2CBOGgwHXiOJx_OGFyQrt668AscGkO1dUa_EdbGMSrRR0g/s1600/LinkedApps.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZs1nkmMZNoTQO1_e6gVJAUvkxSW_U-vq1JLunJ22riG_5cExa3Opbyynw0X18HqD7dRwwkRVQkDIzE135XtEcxec40yUW2C2CBOGgwHXiOJx_OGFyQrt668AscGkO1dUa_EdbGMSrRR0g/s1600/LinkedApps.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Choose your upload package name and click Save and continue at top.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4rn3GL8NO-O2xJMPAU_Ytn8QqHHJFaa6x0shs9Hf6UGrF_pCHx5xLmlwfTLxXaVdGEFeXUYjrv82KOkfsFCIeQNTxXzHXER6mhB0Zaz__tjoYs7HNO_K0tzww2tLpDEJFF5le3sPm__l7/s1600/LinkedApps2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;578&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4rn3GL8NO-O2xJMPAU_Ytn8QqHHJFaa6x0shs9Hf6UGrF_pCHx5xLmlwfTLxXaVdGEFeXUYjrv82KOkfsFCIeQNTxXzHXER6mhB0Zaz__tjoYs7HNO_K0tzww2tLpDEJFF5le3sPm__l7/s640/LinkedApps2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Next step is to Authorize your app&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7PC7T14Vaes9enO84K8vS1NZR-au-v_iQ6miAB7-BFsqG8E2vLoYchiWHcZD2RzYFqrr2p2XlyCnB4UYqT0KlXmI4iQnyx_kF90RcJP8J-FDW2A7MtG-_e8aUzVI9U9tM17dYh7WyGK4X/s1600/LinkedApps3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;133&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7PC7T14Vaes9enO84K8vS1NZR-au-v_iQ6miAB7-BFsqG8E2vLoYchiWHcZD2RzYFqrr2p2XlyCnB4UYqT0KlXmI4iQnyx_kF90RcJP8J-FDW2A7MtG-_e8aUzVI9U9tM17dYh7WyGK4X/s640/LinkedApps3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Do not change anything below, the &quot;Signing certificate fingeprint&quot; should be auto generated for you base on your selected package apps. Click Confirm.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv_aOY60UPbbzA_XmHvdqtYbcbvst1FkJRVeu6ctn06QKS0ZqEC1XkjuJ6SXTezoAjZ1ovUyOpDtvDsGueRAgChyTpuo87hcOk-RNWOWf5sUZr9br26w-Lg_Xyvb53x-Nu-d_Dw0csr5TN/s1600/LinkedApps4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;406&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv_aOY60UPbbzA_XmHvdqtYbcbvst1FkJRVeu6ctn06QKS0ZqEC1XkjuJ6SXTezoAjZ1ovUyOpDtvDsGueRAgChyTpuo87hcOk-RNWOWf5sUZr9br26w-Lg_Xyvb53x-Nu-d_Dw0csr5TN/s640/LinkedApps4.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- here is the funny part. Not sure why but it is a must to create one of Events / Achievements / Leaderboards. For me, i only create a leaderboard.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz76NW4PBgQJsqW-ZLnpVGPAxE4G75dnC5-f8iiM-Fwe7wRPEGA7KIVkoN14dRxlQKWfKc7YXiIKxQ24BQr7LokjNgFdFhzLTDn8NquK9pCyXLDVeounWnRtpcefkWvxc5o2bTvu0iuDxT/s1600/CreateDummy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz76NW4PBgQJsqW-ZLnpVGPAxE4G75dnC5-f8iiM-Fwe7wRPEGA7KIVkoN14dRxlQKWfKc7YXiIKxQ24BQr7LokjNgFdFhzLTDn8NquK9pCyXLDVeounWnRtpcefkWvxc5o2bTvu0iuDxT/s1600/CreateDummy.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- After create, you will see like below. Click on Get Resources.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCKcNSMqQxvk57Bg0xgBYx88Nc-Fj6CZ5xLhH42jubxSTubs62luK2SgSzmoyY6T2ghEXALARmeBvdY0ExPinrXMo1S4iRVuf3MZ31TqTunXWB3g3oPra5ybU03MoHNfgPUmVPKzlFbSyr/s1600/GetResource.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCKcNSMqQxvk57Bg0xgBYx88Nc-Fj6CZ5xLhH42jubxSTubs62luK2SgSzmoyY6T2ghEXALARmeBvdY0ExPinrXMo1S4iRVuf3MZ31TqTunXWB3g3oPra5ybU03MoHNfgPUmVPKzlFbSyr/s640/GetResource.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- You will get resources like below. This will be used to setup in Unity.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;!--&lt;/div&gt;
&lt;div&gt;
Google Play game services IDs.&lt;/div&gt;
&lt;div&gt;
Save this file as res/values/games-ids.xml in your project.&lt;/div&gt;
&lt;div&gt;
--&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;resources&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;lt;string name=&quot;app_id&quot;&amp;gt;149010035409&amp;lt;/string&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;lt;string name=&quot;package_name&quot;&amp;gt;com.TooTiToo.GameOverDefender&amp;lt;/string&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;lt;string name=&quot;leaderboard_top_score&quot;&amp;gt;CgkI0eXCjasEEAIQAA&amp;lt;/string&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;/resources&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Go to Testing and be sure tick on Alpha Testers and Add Testers email as you want.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOTjH3yTpjTuWMe2FGMrM3ZhrvCWueCuOpsX_yGPSoJWRrzjSdW8DOjGqNCHoegA2m0KluotuFRbyAUqxSpxNdn8Lt0RBm9DblA90RtrQ9I-8Z0Vi-jW6M40lU4MUa40nAUo4aE50SIwvV/s1600/Tester.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOTjH3yTpjTuWMe2FGMrM3ZhrvCWueCuOpsX_yGPSoJWRrzjSdW8DOjGqNCHoegA2m0KluotuFRbyAUqxSpxNdn8Lt0RBm9DblA90RtrQ9I-8Z0Vi-jW6M40lU4MUa40nAUo4aE50SIwvV/s1600/Tester.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;b&gt;4) Import Play Games package into Unity and start setup setting.&lt;/b&gt;&lt;/h3&gt;
&lt;div&gt;
- Download latest version from the link below and unzip it. You will find a *.unitypackage inside &quot;current-build&quot; forlder.&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://github.com/playgameservices/play-games-plugin-for-unity/releases&quot; target=&quot;_blank&quot;&gt;https://github.com/playgameservices/play-games-plugin-for-unity/releases&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- In Unity, Click Assets =&amp;gt; Import Package =&amp;gt; Custom Package and choose the&amp;nbsp;play-games-plugin-for-unity-?.?.??.unitypackage&lt;/div&gt;
&lt;div&gt;
- Import all of it.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- After finish import, you will be unable to build apk file until finish setup settings.&lt;/div&gt;
&lt;div&gt;
- In Unity, Click Window =&amp;gt; Google Play Games =&amp;gt; Setup =&amp;gt; Android Setup...&lt;/div&gt;
&lt;div&gt;
- Copy and paste the resources you just get from Google Game Service.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ6rF3GOogc2Yq9SdJuAth064xqiTU4x6-5DftIpnA8jUn-myiGFb9lVzzk7yvzh4nrTogUM36fiadluw18H_rV9-ngAGAzDnqzEj5Altn-Y4C7oTnQBE6Ov13DGeuCU2TC9EyyuD8JYLo/s1600/GooglePlayGamesSettings.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ6rF3GOogc2Yq9SdJuAth064xqiTU4x6-5DftIpnA8jUn-myiGFb9lVzzk7yvzh4nrTogUM36fiadluw18H_rV9-ngAGAzDnqzEj5Altn-Y4C7oTnQBE6Ov13DGeuCU2TC9EyyuD8JYLo/s1600/GooglePlayGamesSettings.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Click setup and you have done all the settings. Now you can start build a login test.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;b&gt;5) Google Play Sign in can only be tested in mobile phone only&lt;/b&gt;&lt;/h3&gt;
&lt;div&gt;
- create a script and try test login as below.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
using GooglePlayGames;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
void Start () {&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;PlayGamesPlatform.Activate ();&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Social.localUser.Authenticate((bool success) =&amp;gt; {&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;//Do something depending on the success achieved&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;if (success){&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}else{&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;});&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Build the apk and install into mobile phone. When it success log in, you will see the your account pop up at the top of your screen.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
================================================================&lt;br /&gt;
&lt;h3&gt;
UPDATE (This is still not confirm when do not need to do this)&lt;/h3&gt;
&lt;h3&gt;
6) Update Google API Settings&amp;nbsp;&lt;/h3&gt;
- &amp;nbsp;Due to some reason, we are unable to sign in when download apps from Google Play Store, I update here a bit for solution.&lt;br /&gt;
&lt;br /&gt;
- Go to&amp;nbsp;&lt;a href=&quot;https://console.developers.google.com/&quot; target=&quot;_blank&quot;&gt;https://console.developers.google.com&lt;/a&gt;. Select your game service that you had created as below.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPrw1Efx0t9f769OogL1t8cky-sYkH0UqzFnWQN8VbHhIDakDKQvsdaLKAC9NazScsJYRhjbFqCC5Sk2CxBAwz5hoKrmAHI0iIJLdY9M6cB2kAFAqswwgt6draAmRUzyKQwgya2fXQfkwn/s1600/GoogleApiSetting.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;733&quot; data-original-width=&quot;1234&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPrw1Efx0t9f769OogL1t8cky-sYkH0UqzFnWQN8VbHhIDakDKQvsdaLKAC9NazScsJYRhjbFqCC5Sk2CxBAwz5hoKrmAHI0iIJLdY9M6cB2kAFAqswwgt6draAmRUzyKQwgya2fXQfkwn/s1600/GoogleApiSetting.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
- Next Go to Credential. You will see the your OAuth2.0 client IDs. Click on edit icon.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixgB1DJRrQiS1dzjtT3C3uFqxqSA3R5hyphenhyphenZGIGJ4cPPpVM2Yy6XPDg-YHTpWvzKVqsEQyajMejOdPKHO6d1keBa_6dLwVYJGssrrRLiomheMPpL6HCHMJgXEspuN1cjO1zD-jYkGhzRJftC/s1600/GoogleApiSetting2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;575&quot; data-original-width=&quot;1566&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixgB1DJRrQiS1dzjtT3C3uFqxqSA3R5hyphenhyphenZGIGJ4cPPpVM2Yy6XPDg-YHTpWvzKVqsEQyajMejOdPKHO6d1keBa_6dLwVYJGssrrRLiomheMPpL6HCHMJgXEspuN1cjO1zD-jYkGhzRJftC/s1600/GoogleApiSetting2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- Here you will got your &quot;Signing-certificate fingerprint&quot;. For me, it is wrong. we should change it.&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiGYLrHjyl5ubgpZKy7F64hCd1DI_NkT05RuZH3MXET7fpbYvTyi_wXt0zaJ5Q78lwfNLbxwCwwyWb_7VeTOLSX9X_k2vgj__s0DPvqEh2nE3DrOUd66tSQKw_7AElZPe890C2uoXp6FFA/s1600/GoogleApiSetting3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;553&quot; data-original-width=&quot;995&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiGYLrHjyl5ubgpZKy7F64hCd1DI_NkT05RuZH3MXET7fpbYvTyi_wXt0zaJ5Q78lwfNLbxwCwwyWb_7VeTOLSX9X_k2vgj__s0DPvqEh2nE3DrOUd66tSQKw_7AElZPe890C2uoXp6FFA/s1600/GoogleApiSetting3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
- Now go to&amp;nbsp;&lt;a href=&quot;https://play.google.com/apps/publish&quot; target=&quot;_blank&quot;&gt;https://play.google.com/apps/publish&lt;/a&gt;&lt;br /&gt;
- Select your Game in All Application. (Not Game Service)&lt;br /&gt;
- Find &quot;App Signing&quot;. And copy SHA-1 under App Signing certificate. and replace &quot;Signing-certificate fingerprint&quot; as above image and save it.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEHymzl8S-qapUCPacUoGUa5bxvo-GLezwUQBU9LU18xEmLhtReYiQhDJtYEN84Yzjb2WWsv-0hZO7_lasb7iiL5_tfU59D4q8SNSJy960HTDpM127YaklWZfyYTxX5_9YdHw8YFC7rX72/s1600/GoogleApiSetting4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;727&quot; data-original-width=&quot;1488&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEHymzl8S-qapUCPacUoGUa5bxvo-GLezwUQBU9LU18xEmLhtReYiQhDJtYEN84Yzjb2WWsv-0hZO7_lasb7iiL5_tfU59D4q8SNSJy960HTDpM127YaklWZfyYTxX5_9YdHw8YFC7rX72/s1600/GoogleApiSetting4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
- Now your release product should be able to sign in.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Hope this can help those who failed in Google Play sign in.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kyokurosagi.blogspot.com/feeds/6443541378911707102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kyokurosagi.blogspot.com/2017/05/unity-local-login-with-unity-android.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2224219769591924917/posts/default/6443541378911707102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2224219769591924917/posts/default/6443541378911707102'/><link rel='alternate' type='text/html' href='http://kyokurosagi.blogspot.com/2017/05/unity-local-login-with-unity-android.html' title='UNITY: Local login with Unity (Android)'/><author><name>Kyo Kurosagi</name><uri>http://www.blogger.com/profile/18296388920392974497</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKw5YxFDqHegp2tVuldsT6B-ohlj1nccYRkz0HtKkz23QB0fSwhmf5UxKDl8oPaQ3U85vYtkzPMcbUk8YvKzWWv9t8YI7Mg8Qs_NL7jmaPTCjKWFczBDLz-VSYRnFXFLycMmDEy6Hxcq4g/s72-c/UnityPackageName.png" height="72" width="72"/><thr:total>2</thr:total></entry></feed>