다운로드
https://github.com/playgameservices/play-games-plugin-for-unity
GitHub - playgameservices/play-games-plugin-for-unity: Google Play Games plugin for Unity
Google Play Games plugin for Unity. Contribute to playgameservices/play-games-plugin-for-unity development by creating an account on GitHub.
github.com
다운 받은 파일의 압축을 풀고
압축 푼 폴더의 current-build 폴더에 들어가서


위 패키지를 유니티에 임포트 한다.
그러면 저절로 설치가 진행되는데
Assets/Plugin/Android에 저렇게 뭔가 많이 설치되면 성공이다.

나는 처음에 설치에 실패 해서 다른 방법으로 다시 시도를 했다.
프로젝트 안의
Assets/GooglePlayGames/com.google.play.games/Editor/GooglePlayGamesPluginDependencies.xml
파일을 찾아서 열고
Packages/com.google.play.games/Editor/m2repository 라고 적힌 부분을
Assets/GooglePlayGames/com.google.play.games/Editor/m2repository로 변경한 후
Force Resolve를 했더니 설치에 성공했다.

참고
https://3dmpengines.tistory.com/2184
com.google.games:gpgs-plugin-support:0.11.01 --> com.google.games:gpgs-plugin-support:+
com.google.games:gpgs-plugin-support:0.11.01 --> com.google.games:gpgs-plugin-support:+ I use GPGS v0.11.01 and was same error java.lang.ClassNotFoundException: com.google.android.gms.games.PlayGames. Android Force Resolve failed with an error Failed to fe
3dmpengines.tistory.com
'Unity > 기타' 카테고리의 다른 글
| 코루틴 최적화 (0) | 2023.04.27 |
|---|---|
| 안드로이드에서 드래그를 통한 카메라 줌인, 줌아웃 구현 (0) | 2023.03.19 |
| 스크린샷 기능 구현 (0) | 2023.03.15 |
| CardboardVR (0) | 2023.03.05 |
| 스프라이트 아틀라스(Sprite Atlas) (0) | 2023.02.13 |