playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.43k stars 952 forks source link

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

Open vegun opened 2 years ago

vegun commented 2 years ago

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

DerBernie commented 2 years ago

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 commented 2 years ago

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