The PC, Mac & Linux Standalone build settings contain options you can use to set up and begin the build process for your application on these platforms. It contains settings to create development builds as well as publishing your final build. To access the Build Settings window, go to File > Build Settings. Once you specify the build settings, select Build to create your build, or select Build And Run to create and run your build on the platform you specify.
The following table outlines the settings available for your build. These vary depending on the target operating system you choose.
Setting | Description | |
---|---|---|
Target Platform | ||
Windows | Build for Windows | |
macOS X (Not available on Linux) | Build for macOS | |
Linux | Build for Linux | |
Architecture | Not available on macOS | |
x86 | 32-bit CPU | |
x86_64 | 64-bit CPU | |
x86 + x86_64 (Universal) | All CPU devices for Linux | |
Copy PDB files(Windows only) | Enable this setting to include Microsoft program database (.pdb) files in the built Standalone Player. .pdb files contain application debugging information that is you can use to debug your application. Copying .pdb files might increase the size of your Player, so you should disable this setting for builds that are intended for publishing. This setting is disabled by default. | |
Development Build | Enable this setting to include scripting debug symbols and include the Profiler in your build. When you enable this setting, the DEVELOPMENT_BUILD scripting define is set. You should use this option when you want to test your application. |
|
Autoconnect profiler | Requires Development Build option to be enabled. When you enable this setting, the Unity Profiler automatically connects to your build. | |
Script debugging | Requires Development Build option to be enabled. When you enable this setting, Unity adds debugging symbols to your script code. | |
Scripts Only Build | Requires Development Build option to be enabled. When you enable this setting, you can rebuild only the scripts for your application while leaving data files intact from a build you have previously executed. Script only builds significantly improves iteration times if you are only changing the code in your application. You need to build the whole Project once before you can use this setting. |