Unity Cloud Autenticator Game Center 연동시 발생하는 에러 해결

2024. 2. 15. 23:34·게임 관련/유니티
반응형

안녕하세요

오늘은 unity cloud authenticator

Gamecenter 연동 과정중에 잘 안되는 부분을 해결하고자 하였고 어느정도 우회 방법을 찾았습니다.

우선 Unity에서는 Apple.gamekit을 이용한 연동 방식을 가이드 하고 있습니다.

https://docs.unity.com/ugs/en-us/manual/authentication/manual/platform-signin-apple-game-center

 

하지만 해당 방법으로 진행하려고 하면 dllnotfound 가 나오던가 아니면, entrypoint를 못찾는 이슈에 도달하게 됩니다.

관련하여 여러 커뮤니티를 찾아보았고 Unity 기술자는 해당 문제에 대해 Apple에 고쳐달라고 얘기하였다고 합니다. 

해당 링크중에 다른 방법으로 unitycloud 연동방식을 해결한 사람이 있었습니다.

 https://gist.github.com/BastianBlokland/bbc02a407b05beaf3f55ead3dd10f808

Publickey url, signature, salt and timestamp 값만 있으면 

unity cloud에서 제공하는 코드로 연동이 가능합니다!!

바로 아래 코드에 인자 값으로 들어가게 되는거지요

async Task SignInWithAppleGameCenterAsync(string signature, string teamPlayerId, string   publicKeyURL, string salt, ulong timestamp)
{
    try
    {
        await AuthenticationService.Instance.SignInWithAppleGameCenterAsync(signature, teamPlayerId, publicKeyURL, salt, timestamp);
        Debug.Log("SignIn is successful.");
    }
    catch (AuthenticationException ex)
    {
        // Compare error code to AuthenticationErrorCodes
        // Notify the player with the proper error message
        Debug.LogException(ex);
    }
    catch (RequestFailedException ex)
    {
        // Compare error code to CommonErrorCodes
        // Notify the player with the proper error message
        Debug.LogException(ex);
    }
}

 

그래서 저는 아래와 같이 코드를 추가해보았답니다. 

자세한 내용은 아래 포스팅을 참고해주세요

https://horae.tistory.com/1125

 

Unity Cloud Gamecenter 연결 관련 해결

안녕하세요 unity cloud 연결을 위해 Apple Gamekit Plugin을 사용해보았지만 여러 이슈들로 인해 현재 이용이 어려워서 우회하는 방법을 이전 포스팅에 소개해드렸는데요 https://horae.tistory.com/1124 Unity Clo

horae.tistory.com

 

참고

https://forum.unity.com/threads/apple-unity-plugins-crashing-on-authentication.1450414/#post-9424940

https://forum.unity.com/threads/apple-unity-plugins-crashing-on-authentication.1450414/#post-9424940

https://docs.unity.com/ugs/en-us/manual/authentication/manual/platform-signin-apple-game-center

https://docs.google.com/document/d/18IfxMcaYCoCHgFrMmM4gfGCHcKKnYx9iCr6DFBU-nLg/edit#heading=h.nh5j6ob4nbj3

I have the same problem,
fetchItems()
OnSuccess()
Thread 1: EXC_BAD_ACCESS (code=257, address=0x2) error, it just crashes when cuts connection from the device to XCode
if not cut connection, it will keep stay in this error line in Xcode
using Unity 2021.3.9f, build on iOS,
manually modified manifest.json to use unity authentication 2.4.0
using Apple Game Center plugin for unity

반응형
저작자표시 비영리 (새창열림)

'게임 관련 > 유니티' 카테고리의 다른 글

FBLPromises Framework not found 에러 문제 해결 방법  (0) 2024.05.14
Unity Cloud Gamecenter 연결 관련 해결  (0) 2024.02.19
[Unity] 유니티 환경에서 android Debug 진행하는 방법  (0) 2024.01.30
ios admob 테스트 기기 등록 방법  (0) 2024.01.17
[Plastic SCM] NotConfiguredClientException: Unity VCS client is not correctly configured for the current user: Client config file /Users/hye/.plastic4/client.conf not found. Please execute 'cm configure' to perform a text mode configuration or 'macplast..  (0) 2024.01.11
'게임 관련/유니티' 카테고리의 다른 글
  • FBLPromises Framework not found 에러 문제 해결 방법
  • Unity Cloud Gamecenter 연결 관련 해결
  • [Unity] 유니티 환경에서 android Debug 진행하는 방법
  • ios admob 테스트 기기 등록 방법
호레
호레
창업 / IT / 육아 / 일상 / 여행
    반응형
  • 호레
    Unique Life
    호레
  • 전체
    오늘
    어제
    • 분류 전체보기
      • 법률
        • 기본
        • 개인정보보호법
        • 정보통신망법
        • 전자금융거래법
        • 전자금융감독규정
        • 신용정보법
        • 온라인투자연계금융업법
      • 창업
        • 외식업 관련
        • 임대업 관련
        • 유통업 관련
        • 세무 관련
        • 마케팅 관련
        • 기타 지식
        • 트렌드
        • Youtube
      • IT기술 관련
        • 모바일
        • 윈도우
        • 리눅스
        • MAC OS
        • 네트워크
        • 빅데이터 관련
        • A.I 인공지능
        • 파이썬_루비 등 언어
        • 쿠버네티스
        • 기타 기술
      • 퍼블릭 클라우드 관련
        • Azure
        • GCP
        • AWS
      • 정보보안 관련
        • QRadar
        • Splunk
        • System
        • Web
      • 기타
        • 세상 모든 정보
        • 서적
      • 게임 관련
        • 유니티
      • 부동산
      • 맛집 찾기
        • 강남역
        • 양재역
        • 판교역
        • ★★★★★
        • ★★★★
        • ★★★
        • ★★
        • ★
      • 결혼_육아 생활
        • 리얼후기
        • 일상
        • 육아
        • 사랑
        • Food
      • 영어
        • 스피킹
        • 문법
        • 팝송
        • 영화
      • K-컨텐츠
        • 드라마
        • 영화
        • 예능
      • 독서
      • 프로젝트 관련 조사
        • 시스템 구축
        • 로그 관련
        • 웹
        • APT
        • 모의 해킹
        • DB
        • 허니팟
        • 수리카타
        • 알고리즘
        • FDS
      • 기업별 구내 식당 평가
        • 한국관광공사
        • KT telecop
        • KT M&S
        • KT powertel
        • KT cs 연수원
        • 진에어
      • 대학 생활
        • 위드윈연구소
        • 진로 고민
        • 채용정보
        • 자동차
        • 주식
        • 악성코드
        • 게임 보안
      • 쉐어하우스
  • 블로그 메뉴

    • 홈
    • 게임 관련
    • IT 기술 관련
    • 태그
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    대통령
    런치
    돈까스
    상호관세
    보안가이드
    마케팅
    수제버거맛집
    판교역
    AWS
    유니티
    판교
    복리후생
    쥬쥬랜드
    이재곧죽습니다
    판교맛집
    무역전쟁
    맛집
    수제버거
    점심
    수제버거존맛
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
호레
Unity Cloud Autenticator Game Center 연동시 발생하는 에러 해결
상단으로

티스토리툴바