I appreciate that maybe you do have answers to these items but they are very hard to find (I have been looking guys). Unity is a big company and a lot of people are going to be wanting to deploy to mobile, but these are the hoops we have to waste time with because there is NO CLARITY on a) what you really need b) what isn't supported right now or any of the above 8 items. It's hard to believe that in TWO YEARS it only seems to have gotten more complicated, more unclear and more unreliable. The last time I released a mobile game using Google Play was in November 2020, and back then it was a disaster to get this integration working. The problem with a lot of the above is you could go on your own adventure to sort this out, as many of us are, and just dig a the hole even deeper by breaking something else. Are updates to Google Play Games required from the Android SDK and/or what version of the JDK is required, if these were both installed WITH Unity. Why does the Unity documentation refer to "Google Play Services" while the Authentication package refers to "Google Play Games" - is this a legitimate difference, or just another outdated unity page?ĩ. Why does it NOT work when building to local device but sign-in (only) DOES work when downloading from internal test track?Ĩ. In Player Settings, what needs to be ticked in order for this bollocks to work? Release/Debug/Custom Proguard? Why?ħ. Will all of this work WITHOUT needing a project setup on the Developer Console? (how do I get the Web App Client ID if this doesnt work, which Unity says I need to have?)Ħ. Why does the Unity documentation for setting up a Google Play Game sign-in not note that the Authentication package needs to be installed?ĥ. Why does the Unity documentation and Google Play Games plugin documentation only refer to this in the most vague manner?Ĥ. Where does one get a Web App Client ID? Google Play Games plugin says generate in the Developer Console (really? Why?)ģ. I honestly at this stage feel like I'm going around in circles and am at the point of abandoning Unity.Ģ. I have also been struggling for DAYS to get this to work with no success. This integration is such an absolute dog show. The type or namespace name 'AndroidJavaClass' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'AndroidJavaObject' could not be found (are you missing a using directive or an assembly reference?)orĪssets\AssetStore\GooglePlayGames\OurUtils\PlatformUtils.cs(33,30): error CS0246: My old version Google Play Games plugin started to failed on build because of:Īssets\AssetStore\GooglePlayGames\OurUtils\PlatformUtils.cs(34,39): error CS0246: My main question is: what's changed or is it the same approach but using different versions of Google Play Games plugin for compatibility? Should I move to the newest one and the functioning would be the same? I implemeted that old Google sign in with Authentication service - 1.0.0-pre.37 and it worked as Google Play Games and now they making it as Google sign in. First it was just Google Play Games sign in (which actually they renamed to just Google) and the usage was the same as now in Google. Edit: since I could not sign out of GPGS, I can't test the above.Ĭould you also help with understanding difference between Google sign in option with using Google Play Games plugin for Unity v10.14 and below which uses Play Games Services v1 SDK (description here) vs GooglePlayGames sign in option with using Google Play Games plugin for Unity v11.01 and above which recommends using Play Games Services v2 SDK (description here).īecause for me it seems like Unity just took two versions of the same library and named them differently. Even though I was able to sign in with Google Play Games. Furthermore, I was unable to sign in with just Google on android even, while using the Unity docs guide for logging in with just google. Second, how can I log-in with regular Google log-in if my app is not a game, or if my app is for desktop or web versions, because getting the Session Token is only possible with the plug-in, that works only on android. Appearently, the app user can go into settings and sign themselves out, this is why, so I tried this, and I couldn't find a way even with the instructions on how to sign out. After signing in once, it will automatically sign in everytime the user opens up the app. Edit: I found out that the devs for the GPGS plugin removed the SignOut() method. But how do I stop automatic autherization on app start up after it has been signed in once. Click to expand.I was able to sign in with Google Play Games Services the first time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |