본문 바로가기

Error Log

Mac에서 Unity Hub Editor 다운로드 안 돼요 이것 뭐예요~?(CMake)

 

처음 맥북 사서 우히히 신난다 하고 있었는데,

기존 프로젝트 에디터가 안 된다.... 외요 ,,?

 

유니티 커뮤에 올렸더니 친절한 어떤 분이 허브 로그 보라고 답을 주셨다.

https://docs.unity3d.com/hub/manual/Help.html

 

Help | Unity Hub | 3.0

Help For more information on how to access troubleshooting options from the Unity Hub, go to the Profile page. Frequently Asked Questions Where can I find the Unity Hub logs? To find Hub logs, do one of the following: Go to Account > Troubleshooting > Open

docs.unity3d.com

 

 

그리고 터미널에 명령어를 넣었는데...

안 된다...

없단다... 폴더 경로가...

몰라... 맥 어려워......

 

그리고 더 찾아본 결과 유니티 허브 자체에서 트러블 슈팅을 볼 수 있게끔 해뒀더라

(유니티 짱이다)

(짱인 김에 주식도 좀 올랐음 좋겠다.)

 

프로필 눌러서 절케 로그 열면 된다.

 

로그를 열면!!

 

{“timestamp”:“2025-01-20T12:35:36.953Z”,“level”:“error”,“moduleName”:“UnityInstallerMac”,“pid”:4869,“message”:“unzip result: replace /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/bin/cmake? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL\n(EOF or read error, treating as "[N]one" …)\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Templates/Windows\n Attribute not found\n unable to process share/cmake-3.22/Templates/Windows/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/CheckIPOSupported\n Attribute not found\n unable to process share/cmake-3.22/Modules/CheckIPOSupported/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/IntelVSImplicitPath\n Attribute not found\n unable to process share/cmake-3.22/Modules/IntelVSImplicitPath/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/Internal\n Attribute not found\n unable to process share/cmake-3.22/Modules/Internal/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/FindCUDA\n Attribute not found\n unable to process share/cmake-3.22/Modules/FindCUDA/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/CMakeAddFortranSubdirectory\n Attribute not found\n unable to process share/cmake-3.22/Modules/CMakeAddFortranSubdirectory/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/CompilerId\n Attribute not found\n unable to process share/cmake-3.22/Modules/CompilerId/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Help/generator\n Attribute not found\n unable to process share/cmake-3.22/Help/generator/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Help/prop_dir\n Attribute not found\n unable to process share/cmake-3.22/Help/prop_dir/.\n”}
{“timestamp”:“2025-01-20T12:35:36.955Z”,“level”:“error”,“moduleName”:“UnityInstallerMac”,“pid”:4869,“message”:“unzip returned an error code 2 while trying to unzip /var/folders/6z/djymwm7j295c27bj1gmw38k80000gn/T/unityhub-f39f5070-d729-11ef-976e-d98ad8a6cefc/cmake-3.22.1-darwin.zip to /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake”}
{“timestamp”:“2025-01-20T12:35:36.957Z”,“level”:“error”,“moduleName”:“Installer: cmake-3.22.1”,“pid”:4869,“message”:“Installation failed. Reason: Error: Error while installing the module cmake-3.22.1 : 2”}
{“timestamp”:“2025-01-20T12:35:36.960Z”,“level”:“info”,“moduleName”:“Installer: cmake-3.22.1”,“pid”:4869,“message”:“Exiting from State: Installation. Event: ERROR”}
{“timestamp”:“2025-01-20T12:35:36.960Z”,“level”:“info”,“moduleName”:“Installer: cmake-3.22.1”,“pid”:4869,“message”:“Transition to state "install_failed" on event "ERROR"”}
{“timestamp”:“2025-01-20T12:35:36.960Z”,“level”:“info”,“moduleName”:“Installation Manager”,“pid”:4869,“message”:“Update: install_failed”}
{“timestamp”:“2025-01-20T12:35:36.961Z”,“level”:“info”,“moduleName”:“Installer: cmake-3.22.1”,“pid”:4869,“message”:“Entered State: install_failed”}
{“timestamp”:“2025-01-20T12:35:36.963Z”,“level”:“error”,“moduleName”:“UnityInstallerMac”,“pid”:4869,“message”:“unzip result: replace /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/bin/ccmake? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL\n(EOF or read error, treating as "[N]one" …)\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/FetchContent\n Attribute not found\n unable to process share/cmake-3.22/Modules/FetchContent/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/UseJava\n Attribute not found\n unable to process share/cmake-3.22/Modules/UseJava/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/Platform\n Attribute not found\n unable to process share/cmake-3.22/Modules/Platform/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/Internal/OSRelease\n Attribute not found\n unable to process share/cmake-3.22/Modules/Internal/OSRelease/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Modules/AndroidTestUtilities\n Attribute not found\n unable to process share/cmake-3.22/Modules/AndroidTestUtilities/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Help/prop_inst\n Attribute not found\n unable to process share/cmake-3.22/Help/prop_inst/.\ncheckdir error: cannot create /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake/share/cmake-3.22/Help/policy\n Attribute not found\n unable to process share/cmake-3.22/Help/policy/.\n”}
{“timestamp”:“2025-01-20T12:35:36.963Z”,“level”:“error”,“moduleName”:“UnityInstallerMac”,“pid”:4869,“message”:“unzip returned an error code 2 while trying to unzip /var/folders/6z/djymwm7j295c27bj1gmw38k80000gn/T/unityhub-f428f2d0-d729-11ef-976e-d98ad8a6cefc/cmake-3.22.1-darwin.zip to /Applications/Unity/Hub/Editor/6000.0.33f1/PlaybackEngines/AndroidPlayer/SDK/cmake/cmake”}
{“timestamp”:“2025-01-20T12:35:36.964Z”,“level”:“error”,“moduleName”:“Installer: cmake-3.22.1”,“pid”:4869,“message”:“Installation failed. Reason: Error: Error while installing the module cmake-3.22.1 : 2”}
{“timestamp”:“2025-01-20T12:35:36.964Z”,“level”:“info”,“moduleName”:“Installer: cmake-3.22.1”,“pid”:4869,“message”:“Exiting from State: Installation. Event: ERROR”}
{“timestamp”:“2025-01-20T12:35:36.964Z”,“level”:“info”,“moduleName”:“Installer: cmake-3.22.1”,“pid”:4869,“message”:“Transition to state "install_failed" on event "ERROR"”}

 

짱긴 로그 사이 에러들이 몰빵된 곳을 볼 수가 있다.

 

지피티에게 물어보니


이 에러는 Unity Editor의 CMake 모듈 설치 중 unzip 과정에서 발생한 문제입니다. 주요 원인은 다음과 같습니다:

  1. unzip 명령 실패
    unzip 명령어가 실패하면서 "Attribute not found" 또는 "unable to process" 오류가 발생했습니다. 이는 파일을 /Applications/Unity/Hub/Editor/... 디렉토리에 정상적으로 압축 해제할 수 없음을 나타냅니다.
  2. 권한 문제
    /Applications 디렉토리에 접근하려면 관리자 권한이 필요할 수 있습니다. 설치 프로세스에서 필요한 권한이 부족할 경우, 해당 경로에 디렉토리 또는 파일을 생성하지 못합니다.
  3. 파일 손상
    다운로드된 cmake-3.22.1-darwin.zip 파일이 손상되었거나 불완전하게 다운로드되었을 가능성이 있습니다.
  4. 디스크 문제
    디스크의 파일 시스템 문제 또는 /Applications 디렉토리에 남아 있는 이전 파일로 인해 충돌이 발생했을 수 있습니다.

해결 방법

  1. 관리자 권한으로 실행
    Unity Hub 또는 설치 프로세스를 관리자 권한으로 실행하세요.
     
     
sudo open /Applications/Unity\ Hub.app

지피티 짱이다.

 

관리자 권한으로 열어서 해결했다. 

최고~~!