play-games-plugin-for-unity | Google Play Games plugin for Unity | Game Engine library

 by   playgameservices C# Version: v0.11.01 License: Non-SPDX

kandi X-RAY | play-games-plugin-for-unity Summary

kandi X-RAY | play-games-plugin-for-unity Summary

play-games-plugin-for-unity is a C# library typically used in Telecommunications, Media, Media, Entertainment, Gaming, Game Engine, Unity applications. play-games-plugin-for-unity has no bugs, it has no vulnerabilities and it has medium support. However play-games-plugin-for-unity has a Non-SPDX License. You can download it from GitHub.

The Google Play Games plugin for Unity allows you to access the Google Play Games API through Unity's social interface. The plugin provides support for the following features of the Google Play Games API:. NOTICE: This version of the plugin no longer supports iOS. Google Play games services for iOS is deprecated, and is not likely to function as expected. Do not use Google Play games services for iOS in new apps. See the deprecation announcement blog post for more details.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              play-games-plugin-for-unity has a medium active ecosystem.
              It has 3237 star(s) with 958 fork(s). There are 270 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 703 open issues and 2291 have been closed. On average issues are closed in 94 days. There are 14 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of play-games-plugin-for-unity is v0.11.01

            kandi-Quality Quality

              play-games-plugin-for-unity has 0 bugs and 0 code smells.

            kandi-Security Security

              play-games-plugin-for-unity has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              play-games-plugin-for-unity code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              play-games-plugin-for-unity has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              play-games-plugin-for-unity releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              play-games-plugin-for-unity saves you 538 person hours of effort in developing the same functionality from scratch.
              It has 1260 lines of code, 123 functions and 154 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of play-games-plugin-for-unity
            Get all kandi verified functions for this library.

            play-games-plugin-for-unity Key Features

            No Key Features are available at this moment for play-games-plugin-for-unity.

            play-games-plugin-for-unity Examples and Code Snippets

            No Code Snippets are available at this moment for play-games-plugin-for-unity.

            Community Discussions

            QUESTION

            Unity - Problem with Google Play Services Leaderboard get user rank
            Asked 2021-May-23 at 22:40

            I have an issue with the Google Play Services Leaderboard and I am stuck for days already.

            I am using the Play Games Plugin for Unity.

            I am trying to get the Userrank for a specific level. Therefore I am loading the Scores via the LoadScores Function and this seems to work fine.

            The issue seems to be, that I get a correct rank in the "LoadScores" Function but the overall GetUserRank Function is still returning rank = 0, no matter what the actual Userrank is.

            My guess is that this is a timing issue after all and that the rank is returned before the LoadScores Function has calculated the correct rank to return.

            ...

            ANSWER

            Answered 2021-May-23 at 08:32

            Sounds like LoadScores is exuted async so you return rank; before even getting a result, so it stays 0.

            Instead of directly assigning the value you will probably have to work with a callback instead:

            Source https://stackoverflow.com/questions/67657693

            QUESTION

            Google Play Games: 401 error on UnlockAchievement call
            Asked 2021-Feb-01 at 07:57

            I've implemented Google Play Services with this asset: https://github.com/playgameservices/play-games-plugin-for-unity.

            I've added Saved Games and Achievements, but looks like achievements don't work properly. It works on my dev device, but o production I see 100% errors:

            It looks like it works normally, when achievement unlocked, users see alert from Google Play Games, but after all the can't see achievements in Play Games application. Also we see that nobody unlocked some achievements when I look to the Play Console:

            As I understand it's the problem with authorization, I've doeble-checked that I setup OAUTH key correctly, using the same SHA-1 as SHA-1 fingerprint of my sign key.

            What can be wrong?

            ...

            ANSWER

            Answered 2021-Feb-01 at 07:57

            I finally figured it out. I used Upload key certificate instead of App signing key certificate. Official docs recommends keytool utility for extracting sha-1 from your keystore, but if you use Play App Signing - it doesn't make sense. You should use sha-1 from Google Play Console -> Setup -> App Signing -> App signing key (or check that Google Cloud Console has already client with right sha-1).

            NOTE: you can also use client for Upload key for local testing.

            NOTE-2: errors will start to disappear in Google Cloud Console immediately, but achievements will appear in Google Play Console only after 3 days.

            Source https://stackoverflow.com/questions/65852414

            QUESTION

            Unity play games services cloud save internal error
            Asked 2020-May-30 at 06:33

            I have used the same code given by https://github.com/playgameservices/play-games-plugin-for-unity to add the cloud save game functionality, enable save games have been called at the beginning of the code and save games are enabled from the google play console as well. The leaderboards and achievements are working fine.

            The OnSaveGameOpened function gets an internal error as SavedGameRequestStatus status. I am not able to find the cause of this (internal error being received as the status), can anyone help me out please? How can I solve this.

            P.S. Serialized data (in the form of bytes[]) was fed into the SaveGame function, serialized using the binary formatter.

            Edit: I was able to debug this further, I get an error on the activation of save games in the play console. I have activated the save games feature and published it (this was done a few days ago). I have also confirmed that the Drive API, Play Games Services API and Play Games Management API are enabled under the API console project. I get following error,

            Cannot use snapshots without enabling the 'Saved Game' feature in Play console

            log from running on an android mobile.

            The answer to this question Google Play Games :: Cannot Use Snapshots Exception states that it will activate within 24hrs, but it is not active even after multiple days.

            ...

            ANSWER

            Answered 2020-May-22 at 09:17

            There are several causes of an internal error; there should be other logs indicating the root cause. You might want to take a look into the source code to know what logs to expect.

            If you're testing in an emulator, make sure your play services and play games are up-to-date.

            Reference: https://github.com/playgameservices/play-games-plugin-for-unity/blob/master/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidSavedGameClient.cs

            Source https://stackoverflow.com/questions/61948142

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install play-games-plugin-for-unity

            Make sure to do the following if they are relevant to your game:.
            Add tester email addresses to the testing section of your game on the Play Games Console.
            The SHA1 fingerprint used to create the linked Android app is from the keystore used to sign the Unity application.
            To download the plugin, clone this Git repository into your file system (or download it as a ZIP file and unpack it). Then, look for the unitypackage file in the current-build directory:. To install the plugin, simply open your game project in Unity and import that file into your project's assets, as you would any other Unity package. This is accomplished through the Assets > Import Package > Custom Package menu item (you can also reach this menu it by right-clicking the Assets folder). Next, make sure your current build platform is set to Android. From File > Build Settings… select Android and click Switch Platform. You should now see a new menu item was added under Window > Google Play Games. If you don't see the new menu items, refresh the assets by clicking Assets > Refresh and try again.
            Next, set up the path to your Android SDK installation in Unity. This is located in the preferences menu, under the External Tools section. To configure your Unity game to run with Google Play Games on Android, first open the Android SDK manager and verify that you have downloaded the following packages. Depending on if you are using the SDK manager from Android Studio, or using the standalone SDK manager, the name of the components may be different. Next, configure your game's package name. To do this, click File > Build Settings, select the Android platform and click Player Settings to show Unity's Player Settings window. In that window, look for the Bundle Identifier setting under Other Settings. Enter your package name there (for example com.example.my.awesome.game). In order to sign in to Play Game Services, you need to sign your APK file, make sure that you are signing it with the correct certificate, that is, the one that corresponds to the SHA1 certificate fingerprint you entered in the Developer Console during the setup. Next, click the Window |Google Play Games|Setup - Android setup menu item. This will display the Android setup screen. Enter the Constants class name. This is the name of the fully qualified class that will be updated (or created) which contains the IDs of the game resources. The format of the name is . . For example, AwesomeGame.GPGSIds. Paste the resource definition data. This is the XML data from the Google Play Developer Console which contains the resource IDs as well as the Application ID for Android. This data is found in the Google Play Developer Console by clicking "Get resources" on any of the resource pages (e.g. Achievements or Leaderboards), then clicking Android. After pasting the data into the text area, click the Setup button. Note: If you are using a web application or backend server with your game, you can link the web application to the game to enable getting the player's id token and/or email address. To do this, link a web application to the game in the Google Play Developer Console, and enter the client id for the web application into the setup dialog.
            Google Play Services
            Android Support Library
            Local Maven repository for Support Libraries (Also known as Android Support Repository)
            Google Repository
            Android 6.0 (API 23) (this does not affect the min SDK version).
            To receive an update whenever the status of the video capture overlay changes, use RegisterCaptureOverlayStateChangedListener. Only one listener can be registered at a time, subsequent calls will replace the previous listener. The listener can be unregistered with UnregisterCaptureOverlayStateChangedListener. The object passed to RegisterCaptureOverlayStateChangedListener must implement CaptureOverlayStateListener from GooglePlayGames.BasicApi.Video. The OnCaptureOverlayStateChanged in that object will be called when the state changes.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/playgameservices/play-games-plugin-for-unity.git

          • CLI

            gh repo clone playgameservices/play-games-plugin-for-unity

          • sshUrl

            git@github.com:playgameservices/play-games-plugin-for-unity.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Game Engine Libraries

            godot

            by godotengine

            phaser

            by photonstorm

            libgdx

            by libgdx

            aseprite

            by aseprite

            Babylon.js

            by BabylonJS

            Try Top Libraries by playgameservices

            android-basic-samples

            by playgameservicesJava

            cpp-android-basic-samples

            by playgameservicesC++

            management-tools

            by playgameservicesJavaScript

            8bitartist

            by playgameservicesJava

            android-snippets

            by playgameservicesJava