Loading lessons...
Build Settings & Configurations
Build Settings & Configurations
To turn your project into an executable application, you configure your compile targets in the Build Settings window.
Opening Build Settings
Open the window via File -> Build Settings:
- Scenes in Build: A list of all scenes included in the compiled game. Only checked scenes are built. The scene at index 0 is the entry point loaded when the game starts.
- Platform: Lists all target operating systems. You select a platform and click Switch Platform to compile assets for that system.
Build Options
- Development Build: Compiles code with profiling hooks and debug scripts. Enables connection to the Unity Profiler and display of console logs on screen.
- Autoconnect Profiler: Automatically connects the target device's application to your editor's profiler when launched.
- Script Debugging: Allows attaching IDE debuggers (like Visual Studio) to step through code executing on the device.
TL;DR
- Open Build Settings via File -> Build Settings.
- The scene at index 0 is the starting level.
- Switch Platform to convert assets for PC, mobile, or console targets.
- Enable Development Build to access logs and profile performance on devices.