IL2CPP를 사용하여 프로젝트를 빌드하면 프로젝트 빌드 시간이 훨씬 더 길어질 수 있기 때문에, 다음과 같은 여러 방법으로 빌드 시간을 크게 단축할 수 있습니다.
증분 빌드 사용
증분 빌드를 사용하면 C++ 컴파일러가 마지막 빌드 후에 변경된 파일만 다시 컴파일합니다. 증분 빌드를 사용하려면 (대상 디렉토리를 삭제하지 않고)프로젝트를 이전 빌드 위치에 빌드합니다.
멀웨어 차단 소프트웨어 검사에서 프로젝트 및 대상 빌드 폴더 제외
프로젝트를 빌드하기 전에 멀웨어 차단 소프트웨어를 비활성화하여 빌드 시간을 개선할 수 있습니다. Unity Technologies의 테스트 결과, 새로 설치한 Windows 10에서 Windows Defender를 비활성화한 후 빌드 시간이 50–66% 단축되는 것으로 나타났습니다.
SSD(Solid State Drive)에 프로젝트와 대상 빌드 폴더 저장
SSD(Solid State Drive)는 기존 HDD(Hard Disk Drives)에 비해 읽기/쓰기 속도가 더 빠릅니다. IL 코드를 C++로 변환하고 컴파일하려면 많은 수의 읽기/쓰기 작업이 필요한데, 스토리지 디바이스가 더 빠르면 처리 속도가 빨라집니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.