Version: 2022.1
言語: 日本語
UWP build settings
Universal Windows Platform: Plugins on IL2CPP Scripting Backend

Universal Windows Platform: Generated project with IL2CPP scripting backend

Building a project from Unity to Universal Windows Platform with IL2CPP scripting backend will create a Visual Studio C++ solution containing three projects:

Figure 1. Generated Visual Studio solution
Figure 1. Generated Visual Studio solution

These projects serve their own purposes:

  1. Il2CppOutputProject contains generated C++ code that was converted from managed assemblies. This project gets overwritten every time when built over it. See figure 2.
  2. Unity Data project contains all Unity data files: levels, assets, etc. This project gets overwrriten every time as well.
  3. The main project (it name matches your Unity project name). This is the project that will be built into an application package, which may be deployed to a device or uploaded to the Windows Store. Unity will not overwrite this project when built on top of it, so it can be modified freely without the fear of changes becoming lost.
Figure 2. Il2CppOutputProject
Figure 2. Il2CppOutputProject


Generated Visual Studio projects have three configurations: Debug, Release and Master:

  • Debug configuration has all optimizations disabled, all debugging info preserved and runs much slower. It is used for debugging your game.
  • Release configuration enables most code optimizations, but leaves profiler enabled. This configuration is used for profiling your game.
  • Master configuration disables the profiler, and is used for game submission/final testing. The build time of Master configuration might be longer, however, it is a little bit faster than Release configuration.

• 2017–05–16 修正されたページ

UWP build settings
Universal Windows Platform: Plugins on IL2CPP Scripting Backend
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。