본문 바로가기
개발/에러해결

UnityException: Build path contains project built with "Create Visual Studio Solution" option, which is incompatible with current build settings. Consider building your project into an empty directory.

by amkorousagi 2022. 10. 22.

에러 내용


UnityException: Build path contains project built with "Create Visual Studio Solution" option, which is incompatible with current build settings. Consider building your project into an empty directory.

UnityException: Build path contains project built with "Create Visual Studio Solution" option, which is incompatible with current build settings. Consider building your project into an empty directory.

"Create Visual Studio Solution"을 체크하지 않았음에도 위 에러가 발생합니다.

에러 원인


프로젝트 루트 디렉터리에 빌드를 시도하였기 때문입니다.

해결 방법


에러 메시지에서 말하듯이 비어있는 디렉터리에 빌드하면 됩니다.

(새로운 디렉터리를 만들어서)

 

예시 자료 (rpg라는 루트디렉터리에 빈 디렉터리 rpg/rpg를 만들고 빌드한 모습)

make new empty directory

참고 자료


 

 

Unity build Errors

So ive made my game and tried to'build it. I get a couple of errors that mean nothing to me. Here's the errors: UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.

stackoverflow.com

 

댓글