Version: 2022.1
언어: 한국어
Building and delivering for Universal Windows Platform
유니버설 Windows 플랫폼: IL2CPP 스크립팅 백엔드로 생성된 프로젝트

UWP 빌드 설정

유니버설 Windows 플랫폼(UWP) 빌드 설정을 사용하여 UWP의 애플리케이션을 설정하고 빌드할 수 있습니다.UWP 빌드 설정은 Build Settings 창의 일부입니다.

To view the UWP Build Settings:

  1. File > Build Settings를 선택합니다.
  2. From the list of platforms in the Platform pane, select UWP.
    Note: Universal Windows Platform only shows in the Platform list if you’re using Unity on a Windows computer.
  3. If the Build button isn’t visible and Build And Run is greyed out, select Switch Platform. The UWP Build Settings now have an effect on the build.

빌드에 대해 다음의 설정을 설정할 수 있습니다.

프로퍼티 설명
아키텍처 Selects the CPU to build (only applies to Build And Run).
Intel 64-bit 64비트 Intel CPU입니다.
Intel 32-bit 32비트 Intel CPU입니다.
ARM 64-bit 64비트 ARM CPU입니다.
ARM 32-bit 32비트 ARM CPU입니다.
Build Type Selects the Visual Studio project or build type to generate.
XAML Project 전체 XAML 환경 내에 Unity를 통합합니다.이렇게 하면 성능이 약간 저하되지만, 애플리케이션에서 XAML 요소를 사용할 수 있습니다.
D3D Project 기본 앱 창에 Unity를 통합합니다.이렇게 하면 최상의 성능을 얻을 수 있습니다.
Executable Only 빠른 반복을 위해 미리 빌드된 실행 파일에서 프로젝트를 호스팅합니다.이 설정은 Visual Studio에서 생성된 프로젝트를 빌드할 필요가 없으므로 반복 속도가 가장 빠릅니다.D3D 프로젝트 빌드와 동일한 성능을 제공합니다.
Target SDK Version Selects the Windows 10 SDK installed on the local PC to build the application against. This setting is relevant only when calling Windows 10 APIs directly from scripts.

Note: Unity requires the base Windows 10 SDK version 10.0.10240.0 or higher for building UWP apps, and doesn’t support Windows 8/8.1 SDKs.
Minimum Platform Version Selects the minimum Windows 10 release version required to run the app.

Note: This setting is only relevant if you’re using Windows features or APIs that aren’t available in the base Windows 10 version (10.0.10240).
Visual Studio Version Targets a specific Visual Studio release if you have multiple versions installed.
Build and Run on Build And Run 중에 앱을 배포하고 실행할 타겟 디바이스 또는 전송을 선택합니다.
Local Machine 로컬 PC에서 앱을 배포하고 실행합니다.
Remote Device (via Device Portal) Deploys and launches the app to a connected device over the Device Portal transport. For more information, see documentation on Windows Device Portal deployment.
Build Configuration 빌드 설정을 선택합니다(Build And Run에만 적용).

참고:이러한 빌드 설정은 Unity가 생성하는 Visual Studio 프로젝트에서 사용할 수 있는 빌드 설정과 동일합니다.
Debug Produces a build that contains additional code you can use for debugging, and enables the Profiler for your build.
Release Produces a build that has debug code stripped out, and enables the Profiler for your build.
Master 릴리스에 대해 완전히 최적화된 빌드를 생성합니다.
Copy References 생성된 솔루션이 빌드 폴더에 복사하는 대신 Unity의 설치 폴더에서 Unity 파일을 참조할 수 있도록 하려면 이 설정을 비활성화합니다.이렇게 하면 디스크 공간을 최대 10GB까지 절약할 수 있지만,빌드 폴더를 다른 PC로 복사할 수는 없습니다.또한 이 설정을 비활성화하면 Unity는 애플리케이션을 더 빨리 빌드합니다.
Copy PDB files Enable this setting to include Microsoft program database (PDB) files in the built Standalone Player. PDB files contain debugging information for your application, but might increase the size of your Player. For more information, see documentation on Windows debugging.
Development Build A development build includes scripting debug symbols. When you select this option, Unity sets the DEVELOPMENT_BUILD scripting define. Your build then includes preprocessor directives that set DEVELOPMENT_BUILD as a condition.

For more information, see Platform dependent compilation.
Autoconnect Profiler 프로파일러가 실행될 때 빌드된 애플리케이션에 프로파일러를 자동으로 연결할지를 나타냅니다.

이 프로퍼티는 Development Build가 활성화된 경우에만 표시됩니다.
Deep Profiling 프로파일러에서의 세부 프로파일링 활성화 여부를 나타냅니다.이 옵션을 사용하면 프로파일러 기기가 애플리케이션에서 함수를 호출할 때마다 더 자세한 프로파일링 데이터를 반환합니다.이 옵션은 스크립트 실행 속도를 늦출 수도 있습니다.

이 프로퍼티는 Development Build가 활성화된 경우에만 표시됩니다.
Script Debugging 애플리케이션의 스크립트 코드에 대한 디버깅을 허용할지를 나타냅니다.

이 프로퍼티는 Development Build가 활성화된 경우에만 표시됩니다.
Scripts Only Build Builds only the scripts in the current Project. Unity rebuilds the scripts in your application, and leaves data files from previously executed builds intact. It significantly improves iteration times if you only change the code in your application.

This property is visible only when Development Build is enabled.

Note: You need to build the entire Project once before you can use this setting.
Compression Method Unity가 플레이어를 빌드할 때 프로젝트의 데이터를 압축하는 데 사용하는 방법을 지정합니다.여기에는 에셋, , 플레이어 설정GI 데이터가 포함됩니다.
Default 압축 기본값은 None으로 설정됩니다.
LZ4 This is a fast compression format that’s useful for development builds. LZ4 compression can improve loading time of applications built with Unity. For more information, see BuildOptions.CompressWithLz4.
LZ4HC LZ4HC is a high compression variant of LZ4 that’s slower to build but produces better results for release builds. LZ4HC compression can improve loading time of applications built with Unity. For more information, see BuildOptions.CompressWithLz4HC.
Building and delivering for Universal Windows Platform
유니버설 Windows 플랫폼: IL2CPP 스크립팅 백엔드로 생성된 프로젝트