
Unity Editor 파일을 C에서 E로 옮기고 나니 unity package를 받아올 때 자동으로 연결이 되지 않는 문제가 발생했다.

.unitypackage는 다른 응용프로그램들을 단순 실행시키는 확장자와는 달리 유니티 에디터를 실행하기만 하는 확장자가 아니라 단순 연결로는 해결이 되지 않는다.
Cmd를 관리자 권한으로 실행해 아래의 코드를 입력해주면 된다.
ftype unitypackage="E:\Unity\Unity\2022.3.2f1\Editor\Unity.exe" -openfile "%1"
assoc .unitypackage=unitypackage
ftype과 assoc를 통해 unity editor의 확장자를 가져와서 연결시켜줄 수 있다.

연결이 된 것을 확인할 수 있다. 해결!
https://docs.microsoft.com/ko-kr/windows-server/administration/windows-commands/ftype
https://learn.microsoft.com/ko-kr/windows-server/administration/windows-commands/assoc
https://velog.io/@astray36/%EC%98%A4-%EA%B0%9C-URP%EC%9D%98-%EA%B0%9C%EB%85%90