play-games-plugin-for-unity icon indicating copy to clipboard operation
play-games-plugin-for-unity copied to clipboard

error CS0246: The type or namespace name 'PlayGamesClientConfiguration' could not be found (are you missing a using directive or an assembly reference?)

Open vegun opened this issue 2 years ago • 2 comments

error CS0246: The type or namespace name 'PlayGamesClientConfiguration' could not be found (are you missing a using directive or an assembly reference?) how to solve iam also using g playgame.basicapi lib but issue

Originally posted by @vegun in https://github.com/playgameservices/play-games-plugin-for-unity/issues/2878#issuecomment-1112946586

vegun avatar Apr 29 '22 07:04 vegun

As I see in https://github.com/playgameservices/play-games-plugin-for-unity/blob/a858971e7f08387cc25ffd8b6bd8e2781fbe546f/UPGRADING.txt it says "Creating a PlayGamesClientConfiguration instance, the initialization and activation of PlayGamesPlatform are not needed" and "Extra scopes cannot be requested."

So it seems like this was removed intentionally. I have an issue integrating PlayFab, as this specifically requires the "profile" OAuth scope as described here: https://docs.microsoft.com/en-us/gaming/playfab/features/authentication/platform-specific-authentication/google-sign-in-unity#adding-google-sign-in-to-your-unity-game

DerBernie avatar Apr 29 '22 13:04 DerBernie

Okay seems like there's another ticket already: https://github.com/playgameservices/play-games-plugin-for-unity/issues/3141

DerBernie avatar Apr 29 '22 13:04 DerBernie