기타/Unity

[Unity Error] 안드로이드 빌드 시 Package Name has not been set up correctly

푸쿠이 2019. 7. 11. 09:26

https://stackoverflow.com/questions/48084515/package-name-has-not-been-set-up-correctly

 

Package Name has not been set up correctly

I am making a game on Unity following this tutorial on YouTube: I am brand new to Unity and Android Game Development, in the video I got to 35:16 and we are building the scenes and I clicked build...

stackoverflow.com

| 오류 이유

Player Settings에서 PackageName을 올바르게 설정해야 한다는 것이다.

 

 

| 해결 방법

PackageName 기본값으로는 제대로 기억이 안나는데, com.Company.ProductName 이었다.

PackageName을 조건에 맞추어서 적어줘야 한다.

 

 

| PackageName 조건

1. 3 파트 이상으로 나누어져 있어야 한다. (com).(Company).(ProductName) -> 3파트

2. 알파벳과, _ 만 사용할 수 있다.

3. 숫자로 시작하면 안된다.

 

 

 

나는 회사 도메인 같은 것이 없어서 내 이름과 게임 이름을 이용해서 정했다.

com.Mingyu.Catch_Invisible 로 설정하고 빌드하니 문제가 해결되었다.