playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.44k stars 959 forks source link

Upgrade Unity 2018 To 2021 And playgameplugin upgrade 1.2.95.0 To 1.2.162 #3047

Closed jungsu-kim-archipin closed 3 years ago

jungsu-kim-archipin commented 3 years ago

I read upgrade txt( https://github.com/playgameservices/play-games-plugin-for-unity/blob/master/UPGRADING.txt ). However, I am getting an error due to changes in the code.

`Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(1138,48): error CS0246: The type or namespace name 'InvitationReceivedDelegate' could not be found (are you missing a using directive or an assembly reference?)

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.Authenticate(bool, Action)'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.LoadFriends(int, bool, Action)'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.AskForLoadFriendsResolution(Action)'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.GetLastLoadFriendsStatus()'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.ShowCompareProfileWithAlternativeNameHintsUI(string, string, string, Action)'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.GetFriendsListVisibility(bool, Action)'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.LoadMoreFriends(int, Action)'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.RequestPermissions(string[], Action)'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(36,33): error CS0535: 'NativeClient' does not implement interface member 'IPlayGamesClient.HasPermissions(string[])'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(61,26): error CS0104: 'Player' is an ambiguous reference between 'GooglePlayGames.BasicApi.Player' and 'GooglePlayGames.BasicApi.Multiplayer.Player'

Assets\GooglePlayGames\Platforms\Native\NativeClient.cs(62,31): error CS0104: 'Player' is an ambiguous reference between 'GooglePlayGames.BasicApi.Player' and 'GooglePlayGames.BasicApi.Multiplayer.Player'

`

Do you have a page with content that needs to be fixed with a previous update? Or can I get some advice?

mgrogin commented 3 years ago

Try deleting the GooglePlayGames folder first ( Make sure you're backed up of course)

jungsu-kim-archipin commented 3 years ago

Thank you!