Overview
After completing your game in Unity Editor, the final step is Building. Building converts your Unity project into a standalone application that runs directly on specific platforms (Windows, macOS, iOS, Android, etc.). This lets anyone play your game without having Unity installed.
This article covers build procedures for major platforms and essential settings.
Build Settings Window
All build configuration happens in the Build Settings window, opened via File > Build Settings.
- Scenes In Build: List of scenes included in the build. Scenes not listed are excluded.
Add Open Scenesbutton adds currently open scenes. The first scene (index 0) loads when the game starts. Drag and drop to reorder. - Platform: List for selecting target platform. Includes
PC, Mac & Linux Standalone,WebGL,iOS,Android, etc. Select a platform and pressSwitch Platform—Unity reimports project assets for that platform. This process can take time.
Player Settings
Click Player Settings at the bottom-left of Build Settings window to open Project Settings for detailed platform configuration. This is crucial for builds.
- Company Name / Product Name: Author and product names. Used in executable properties and mobile app names.
- Default Icon: Set application icon image.
- Resolution and Presentation: Screen resolution, fullscreen mode, supported orientations (portrait/landscape).
- Splash Image: Customize launch splash screen (Unity logo, etc.). Paid plans only.
- Other Settings: Technical platform-specific settings: rendering, color space (Gamma/Linear), API levels, and importantly Bundle Identifier.
- Bundle Identifier: Unique ID in reverse domain format like
com.YourCompanyName.YourProductName. Critical for app identification, especially on mobile platforms.
- Bundle Identifier: Unique ID in reverse domain format like
Platform Build Guides
PC, Mac & Linux Standalone
The simplest build.
- Select
PC, Mac & Linux StandaloneinPlatform. - Choose target OS (Windows, macOS, Linux) in
Target Platform. - Select CPU architecture (Intel 64-bit, etc.) in
Architecture. - Press
Build, specify executable location and name. - After build completes,
.exe(Windows) or.app(macOS) files are generated in the specified folder.
WebGL
Builds games for web browsers. Playable without special plugins—great for game jam submissions and quick demos.
- Select
WebGLinPlatformandSwitch Platform. - Adjust WebGL-specific settings (memory size, etc.) in
Player Settings. - Press
Buildand specify output folder. - Build generates
index.html,Buildfolder, andTemplateDatafolder. Upload these to a web server and accessindex.htmlto play.
Note: For security reasons, most browsers won't run index.html as local files (file://). Testing requires a local web server.
Android
Generates .apk or .aab (Android App Bundle) files for Android devices.
- SDK/NDK/JDK Setup: In Unity Hub's
Installstab, addAndroid Build Supportmodule to your Unity version. CheckAndroid SDK & NDK ToolsandOpenJDKto install. - Select
AndroidinPlatformandSwitch Platform. - Set
Minimum API LevelandTarget API LevelinPlayer Settings > Other Settings. - Create Keystore: Digital signing is required for Google Play Store publication. Open
Keystore ManagerinPlayer Settings > Publishing Settingsto create a new keystore. Guard this file and password carefully. - Press
Buildto generate.apk. Copy to Android device to install and test.
iOS
Builds for iOS devices, but final app generation requires macOS and Xcode.
- macOS Required: iOS builds don't work on Windows. Run Unity on macOS.
- Select
iOSinPlatformandSwitch Platform. - Configure bundle ID, target device (iPhone/iPad), etc. in
Player Settings. - Press
Build—Unity generates an Xcode project, not a direct app file like.apk. - Open the Xcode project in Xcode, configure signing with your developer account, and build/deploy to connected iOS devices. App Store submission is also done through Xcode.
Summary
Building is the final development stage—sending your creation to the world.
- Configure scenes and target platform in
Build Settingswindow. - Set app name, icon, bundle ID, and platform details in
Player Settings. - PC builds are simplest—just press
Build. - Android builds require SDK/NDK/JDK setup and keystore signing.
- iOS builds require macOS; Unity outputs Xcode projects. Final build and signing happen in Xcode.
Each platform has unique requirements and review processes. When building for the first time, check official documentation for current requirements.