Google announced in December 2016 that Google+ was no longer integrated into Google Play Games services: https://android-developers.googleblog.com/2016/12/games-authentication-adopting-google.html And, as a result, a method call Unities Social.localUser.LoadFriends()returns zero friends. Now that you have no friends, how do you invite other players to a multiplayer match with Googles Play Games Services?
Social.localUser.LoadFriends()
The Google Play Game Services documentation has a sample code on how to invite G + friends and anonymous players at this link: https://developers.google.com/games/services/android/realtimeMultiplayer#invite_players_option , btw is an outdated example and not Reflects the actual API changes.
August 2017 update
Currently, RealTimeMultiplayer.getSelectOpponentsIntent(...)many other methods are marked as obsolete in the documents. (They were not when the answer was given). Read here for more info on this.
RealTimeMultiplayer.getSelectOpponentsIntent(...)
Source: https://habr.com/ru/post/1678095/More articles:Java IO: Why does the console display a numeric representation of a linear feed when reading from stdin? - javaHow to add com.google.gson.JsonArray to a specific index? - javaWhy is Vue.js using VDOM? - javascriptLaravel 5.4 - method "updateOrCreate". Check If the record was "updated" or "created", - phpDjango ORM access optimization with filter - pythonqt sql datatype (QVariant) for type BINARY of arbitrary length - c ++Не удалось настроить uwgi через супервизор "uwsgi: uwsgi_00: ERROR (ошибка появления)" - supervisordConstraintLayout: проблема z-index - androidz order in ConstraintLayout Android - androidfix missing ToUniCode card in PDF - pdfAll Articles