Game World!

Join A World Of Gamers

Enter your email address:

Delivered by FeedBurner

Followers

Popular Posts

Monday, 28 June 2021

What is Server build unity?

 

Build Settings

The Build Settings window allows you to choose your target platform, adjust settings for your build, and start the build process. To access the Build Settings window, select File > Build Settings… . Once you have specified your build settings, you can click Build to create your build, or click the Build And Run to create and run your build on the platform you have specified.

Build Settings window
Build Settings window

Scenes in Build

This part of the window shows you the scenes from your project that will be included in your build. If no scenes are shown then you can use the Add Current button to add the current scene to the build, or you can drag scene assets into this window from your project window. You can also untick scenes in this list to exclude them from the build without removing it from the list. If a scene is never needed in the build you can remove it from the list of scenes by pressing the delete key.

Scenes that are ticked and added to the Scenes in Build list will be included in the build. The list of scenes will be used to control the order the scenes are loaded. You can adjust the order of the scenes by dragging them up or down.

Platform List

The Platform area beneath the Scenes in Build area list all the platforms which are available to your Unity version. Some platforms may be greyed out to indicate they are not part of your version or invite you to download the platform specific build options. Selecting one of the platforms will control which platform will be built. If you change the target platform, you need to press the “Switch Platform” button to apply your change. This may take some time making the switch, because your assets may need to be re-imported in formats that match your target platform. The currently selected platform is indicated with a Unity icon to the right of the platform name.

The selected platform will show a list of options that can be adjusted for the build. Each platform may have different options. These options are listed below. Options that are common across many platforms are listed at the very bottom of this section under the “Generic items across builds” details.

PC, Mac & Linux Standalone

OptionPurpose
Target Platform
        WindowsBuild for Windows
        Mac OS XBuild for Mac
        LinuxBuild for Linux
Architecturex86
        x8632-bit CPU
        x86_6464-bit CPU
        UniversalAll CPU devices
        x86 + x86_64 (Universal)All CPU devices for Linux
Server BuildBuild the Player for server use and with no visual elements (headless) without the need for any command line options. When enabled, Unity builds managed scripts with the UNITY_SERVER define, which enables you to write server-specific code for your applications. You can also build to the Windows version as a console app so that stdin and stdout are accessible (Unity logs go to stdout by default).
Copy PDB files(Windows only) Include Microsoft program database (PDB) files in the built Standalone Player. PDB files contain application debugging information that is useful for debugging, but may increase the size of your Player. This setting is disabled by default.
Headless ModeBuild game for server use and with no visual elements

iOS

OptionPurpose
Run in XcodeSelect the version of Xcode to use in the build. When set to Latest version,the build uses the most recent version of Xcode on your machine.
Run in Xcode as
ReleaseShipping version
DebugTesting version
Symlink Unity librariesReference to the Unity libraries instead of copying them into the XCode project. (Reduces the XCode project size.)

Android

For information on Android build settings, see Building apps for Android.

WebGL

Build Settings for WebGL use the generic settings shown later on this page.

Samsung TV

Build Settings for Samsung TV use the generic settings shown later on this page.

Xiaomi

For information about building projects for Xiaomi Game Center, see Unity Xiaomi documentation.

Other platforms

Console platforms and devices which require a Unity license will be documented in the Platform Specific section of the User Guide.

Generic items across builds

OptionPurpose
Development BuildAllow the developer to test and work out how the build is coming along.
Autoconnect ProfilerWhen the Development Build option is selected allow the profiler to connect to the build.
Script DebuggingWhen the Development Build option is selected allow the script code to be debugged. Not available on WebGL.
Scripts Only BuildBuild just the scripts in the current Project.
Compression MethodCompress the data in your Project when building the Player. This includes AssetsScenesPlayer settings and GI data. Choose between the following methods:
DefaultOn PC, Mac, Linux Standalone, and iOS, there is no compression by default. On Android, the default compression is ZIP, which gives slightly better compression results than LZ4HC, but data is slower to decompress.
LZ4A fast compression format that is useful for development builds. For more information, see BuildOptions.CompressWithLz4.
LZ4HCA high compression variant of LZ4 that is slower to build but produces better results for release builds. For more information, see BuildOptions.CompressWithLz4HC.

Floating Button

Button