Unity 빌드 중 발생한 에러 모음
CommandInvokationFailure: Gradle build failed.
섹션 제목: “CommandInvokationFailure: Gradle build failed.”- 원인: Unity, JDK, SDK 버전 변경 등으로 Gradle 캐시가 맞지 않을 때 발생한다.
- 해결: 사용자 폴더의
.gradle/cache를 모두 지운다.
Your Android setup is not correct. See Settings in Facebook menu.
섹션 제목: “Your Android setup is not correct. See Settings in Facebook menu.”- 해결: OpenSSL과 JDK가 제대로 설치되어 있는지, 환경 변수로 등록되어 있는지 확인한다.
Error: Could not load signature of Firebase.Crashlytics.Editor.iOsPostBuild:SetupGUIDForSymbol
섹션 제목: “Error: Could not load signature of Firebase.Crashlytics.Editor.iOsPostBuild:SetupGUIDForSymbol”- 원인: Firebase Crashlytics dll이 iOS 플랫폼을 필요로 해서 발생한다.
mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant.
섹션 제목: “mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant.”- 원인:
mainTemplate.gradle의aaptOptions가 예전noCompress정의를 쓰고 있어unityStreamingAssets상수가 정의한 타입을 포함하지 않는다. - 해결:
mainTemplate.gradle의aaptOptions에noCompress관련 정보를 추가한다. - 참고: answers.unity.com/questions/1802208/build-error-27.html