유니티 빌드 실패: 안드로이드 SDK NDK 경로 문제 오류 에러 (Unity Buid Error: Android SDK & NDK Path - Burst compilerfailed running)

2023. 3. 29. 00:34Unity

유니티 빌드 실패: 안드로이드 SDK NDK 경로 문제 오류 에러 (Unity Buid Error: Android SDK & NDK Path - Burst compilerfailed running)

 

BuildFailedException: Burst compiler (1.7.3) failed running
stdout:
Burst requires the android NDK to be correctly installed (it can be installed via the unity installer add component) in order to build a standalone player for Android with ARMV7A_NEON32
The environment variable ANDROID_NDK_ROOT is undefined or empty, is the Android NDK correctly installed?
stderr:

 

 

분석

유니티 엔진 엔진 버전 단위 안드로이드 SDK 와 NDK 경로 관리

자동 업데이트 / 다운로드 설정 시 저 값을 컨트롤

 

결국 환경 변수 충돌 문제

 

 

해결

- 안드로이드 NDK 사용자 환경 변수 설정

 

set ANDROID_NDK_ROOT=C:\Program Files\Unity\Hub\Editor\2021.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK

 

- Player Setting / External tools 에서 NDK 체크 풀었다가 다시 체크

 

 

 

 

유니티 빌드 실패: 안드로이드 SDK NDK 경로 문제 오류 에러 (Unity Buid Error: Android SDK & NDK Path - Burst compilerfailed running)