On Android, the default compression is ZIP, which gives slightly better compression results than LZ4HC. On PC, Mac, Linux Standalone, and iOS, there is no default compression. This option is not available for the Lumin and WebGL platforms. More info See in Glossary, Player settings Settings that let you set various player-specific options for the final game built by Unity. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. Think of each unique Scene file as a unique level. More info See in Glossary, Scenes A Scene contains the environments and menus of your game. You can also create some asset types in Unity, such as an Animator Controller, an Audio Mixer or a Render Texture. An asset may come from a file created outside of Unity, such as a 3D Model, an audio file or an image. This includes Assets Any media or data that can be used in your game or project. This option is only available if you selected Script Debugging.Ĭompress the data in your Project when you build the Player. Make the Player wait for a debugger to be attached before it executes any script code. This option might slow down script execution. This makes the Profiler instrument every function call in your application so it returns more detailed profiling data. This option is only available if you selected Development Build. Your build then includes preprocessor directives that set DEVELOPMENT_BUILD as a condition (see Platform-dependent compilations).Īutomatically connect the Unity Profiler to your build. When you select this option, Unity sets the DEVELOPMENT_BUILD scripting define. You should use this setting when you want to test your application. Include scripting debug symbols and the Profiler in your build. Setting:ĭevelopment Build A development build includes debug symbols and enables the Profiler. The following settings apply to all platforms. Some settings apply to all platforms, and some are platform-specific. When you select a platform, Unity displays a list of options that you can adjust for the build. If Unity needs to re-import your assets in formats that match your target platform, the switch process can take a long time. Tip: The list displays the Unity icon next to the platform currently selected as the target platform. Select the platform you want to switch to.
Follow the instructions to install the platform module.Select the three dots on the version of Unity you’re using.If the platform you need is not on the list, do one of the following: The Platform pane lists all the platforms you can build for.Įach version of Unity installed on your computer has its own platform list.
Window, Mac and Linux build settings Platform listĮach build must have a target platform. To adjust the scene order: Drag and drop scenes in the list to reorder them.To remove a scene from the list: Select the scene and press Delete.This removes the scene from the build, but not from the list. To exclude a scene in the list from the build: Clear the checkbox next to that scene.You can also drag scenes from your Project window into the list. To add all currently open scenes to the list: Select Add Open Scenes.You can add, exclude, remove, and reorder scenes in the list: Unity builds scenes in the order in which they appear in the list. When you build your application, Unity builds all selected scenes in the Scenes In Build pane. For more information, see Incremental build pipeline. These options are explained in the Generic Platform Settings section.įor faster iteration during development, Unity uses an incremental build pipeline that rebuilds artifacts only if they have changed since the previous build. Selecting the development build option enables an additional set of options, such as deep profiling support and script debugging. For example, it can report the percentage of time spent rendering, animating, or in your game logic. It shows how much time is spent in the various areas of your game. A development build, which includes scripting debug symbols and the Profiler A window that helps you to optimize your game.A release build, which includes only what’s necessary to run the application.To access the Build Settings window: from Unity’s main menu, go to File > Build Settings. To select your platform and settings, and start the build process, use the Build Settings window.
This documentation describes how to define the scenes, target platform, and settings for your build. Unity can build your application for different platforms and with different settings.