전용 서버 빌드 타겟은 네트워크화된 애플리케이션에 대한 최적화를 수행합니다.이 빌드 타겟은 기본적으로 몇 가지 최적화를 자동으로 적용하는 반면, 다른 최적화는 게임 구현에 따라 영향이 달라지므로 선택 사항입니다.
기본적으로 전용 서버 빌드 타겟은 다음 최적화를 수행합니다.
전용 서버 빌드 타겟은 전용 서버로 실행할 때 빌드에 오디오 지원이 필요하지 않기 때문에 오디오 보조 시스템을 비활성화합니다.오디오 보조 시스템을 비활성화하면 CPU 로드가 감소합니다.
전용 서버 빌드 타겟은 서버 빌드에 조명을 렌더링할 필요가 없기 때문에 조명과 관련된 프로세스 스레드를 제거합니다.
전용 서버 빌드 타겟은 다음 PlayerLoop 콜백이 서버에 필요하지 않기 때문에 비활성화합니다.
SendMouseEvents
의 플레이어 업데이트 루프 등록UpdateAllRenderers
의 플레이어 업데이트 루프 등록PlayerUpdateCanvases
의 플레이어 업데이트 루프 등록전용 서버 빌드 타겟은 텍스처의 텍스처 픽셀 데이터와 메시 버텍스 데이터와 같이 서버에 필요하지 않은 GPU 전용 에셋을 제거합니다.이 빌드 타겟은 CPU 읽기/쓰기 권한이 있는 에셋과 리소스 폴더에 있는 에셋을 보존합니다.
CPU 읽기/쓰기 액세스 권한이 비활성화된 상태로 임포트한 텍스처와 메시는 GPU만 액세스할 수 있고, CPU는 액세스할 수 없습니다.전용 서버 빌드 타겟은 그래픽스 기기를 초기화하지 않으므로 이 데이터를 포함할 필요가 없습니다.이 데이터를 제외하면 실행 메모리 사용량이 감소합니다.
전용 서버 빌드 타겟이 어떤 에셋을 제거하고 보존하는지 자세히 알아보려면 다음 리스트를 참조하십시오.
Removed:
Preserved:
참고:CPU 읽기/쓰기 액세스에 대해 자세히 알아보려면 Texture.isReadable과 Mesh.isReadable을 참조하십시오.
전용 서버 빌드 타겟을 통해 적용되는 자동 최적화 외에도 다음과 같은 구현별 최적화를 수동으로 적용할 수 있습니다.
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.