글

라벨이 Error인 게시물 표시

[Unity] Trying to update the managed reference registry with invalid propertyPath 에러 해결방법

이미지
개발환경 Unity 2022.3.0f1 Windows 11 컴퓨터 교체 후 프로젝트를 로드하고 잔 버그들 잡는데 아래 버그가 계속 발생했다 Trying to update the managed reference registry with invalid propertyPath(likely caused by a missing reference instance) 'managedReferences[7151366037366898688].LevelCurve.MMTweenCurve', with value '0' Trying to update the managed reference registry with invalid propertyPath(likely caused by a missing reference instance) 'managedReferences[7151366037366898688].LevelCurve.MMTweenDefinitionType', with value '0' 무슨 오류인가 확인 하려고 Notepad++ 에서 7151366037366898688 값을 파일에서 찾기로 찾아보니 오류가 발생한 특정 씬(Scene)이 나오고 연관된 guid, fileID 값을 찾았다 guid 로 찾으니 특정 prefab.meta 파일이 나오고 fileID 로 찾으니 특정 prefab 파일이 나옴 prefab 에 해당 부분을 수정하면 될지도 모르겠지만... prefab 을 completeUnpack 하니 오류 해결! 3줄 요약 1. 오류코드의 객체를 찾기 위해 Notepad++ 파일찾기 이용 2. guid, fileID 도 같은 방식으로 찾아보니 특정 prefab 이 나옴 3. 해당 prefab completeUnpack 하니 오류 해결

Unity + GPGS 플러그인 v11.01 관련 삽질 기록(GPGS Unity Plugin v11.01 Error Solve)

이미지
Unity + Google Play Games Services 관련 삽질 기록 삽질한 개발환경 윈도우 11 유니티 GPGS 플러그인 버전 v11.01 유니티 버전 2020.3.36f1 https://github.com/playgameservices/play-games-plugin-for-unity Unity GPGS 플러그인(play-games-plugin-for-unity)을 사용해서 구현하다 발생한 삽질 기록 1. 플러그인 설치 후 resolve 오류 1) dependency 관련 오류 Failed to fetch the following dependencies: com.google.games:gpgs-plugin-support:0.11.01 해결방법 https://github.com/playgameservices/play-games-plugin-for-unity/issues/2796#issuecomment-1166347984 * Open the file Assets/GooglePlayGames/com.google.play.games/Editor/GooglePlayGamesPluginDependencies.xml * change line `Packages/com.google.play.games/Editor/m2repository` to `Assets/GooglePlayGames/com.google.play.games/Editor/m2repository` * run Android Force Resolve => GooglePlayGamesPluginDependencies.xml 파일을 열어서 라인 편집 2) JAVA_HOME 관련 오류 ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java insta...

Unity Google Play Games Services 연동 오류로 인한 삽질 기록

이미지
3줄 요약 1. Unity - Google Play Games Services 연동 오류 발생(Unity 2018.2.1f1, GPGS Plugin for Unity 0.9.50) 2. 구글링해보니 AndroidManifest.xml 파일 자동 생성시 공백이 잘못들어감 3. 생성할때 사용하는 템플릿 파일(template-AndroidManifest.txt)을 수정하고 다시 해보니 정상 동작! 삽질 & 구글링 나름 튜토리얼을 보면서 잘 따라 했것만... Google Play Console 의 출시관리>사전 출시 보고서에 비정상 종료 로그가 뜨고, APK 파일을 받아서 깔아보아도 제대로 실행이 안되었다. 오류 로그는 아래와 같음 사전출시 보고서 오류 리포트 문제: at com.google.android.gms.common.internal.zzh.handleMessage(Unknown Source:275) FATAL EXCEPTION: main Process: com.m2kestudio.unity.clicker, PID: 12207 java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information. at com.google.android.gms.common.internal.zze.zzv(Unknown Source:78) at com.google.android.gms.common.internal.zzi.zzakg(Unknown Source:54) at com.google.android.gms.common.internal.zzh.handleMessage(Unknown Source:275) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:19...