# Linux Player settings

> Use Player Settings to set the different options required for the final game built by Unity applicable for the Linux platform. For a description of the general Player Settings, refer to Player Settings.

Use the Linux Unity Player settings (menu: **Edit** > Editor > **Player**) to determine how Unity builds and displays your Linux application. For a description of the general Player settings, refer to [Player Settings](/engine/6000.0/manual/unity-editor/editor-settings-reference/comp-manager-group/class-player-settings.md#general).


**Linux Player settings:**
![](/api/media?file=/engine/6000.0/media/images/class-PlayerSettingsStandalone.png)

You can find documentation for the properties in the following sections:

* [Icon](#Icon)
* [Resolution and Presentation](#Resolution)
* [Splash Image](#Splash)
* [Other Settings](#Other)

## Icon

Enable the **Override for Windows, Mac, Linux** setting to assign a custom icon for your desktop game. You can upload different sizes of the icon to fit each of the squares provided.


**Icon settings for the Desktop platforms:**
![](/api/media?file=/engine/6000.0/media/images/PlayerSetPCIcon.png)

## Resolution and Presentation

Use the **Resolution and Presentation** section to customize aspects of the screen's appearance in [Resolution](#Resolution1) and [Standalone Player Options](#Resolution2).

### Resolution section

Use this section to customize the screen mode and default size.


**Resolution section for the Desktop platforms:**
![](/api/media?file=/engine/6000.0/media/images/PlayerSetPCRes.png)

| **Property**                     | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Run In Background**            | Enable this option to allow the application to run in the background when it loses focus. When disabled, the application pauses when it loses focus.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **&#x20;       Fullscreen Mode** | Choose the full-screen mode. This defines the default window mode at startup.- **Fullscreen Window**: Set your app window to the full-screen native display resolution, covering the whole screen. This mode is also known as borderless full-screen. Unity renders the app content at the resolution set by a script, or the native display resolution if none is set and scales it to fill the window. When scaling, Unity adds black bars to the rendered output to match the display aspect ratio to prevent content stretching. This process is called [letterboxing](https://en.wikipedia.org/wiki/Letterboxing_\(filming)). The OS overlay UI displays on top of the full-screen window (such as IME input windows). All platforms support this mode.
- **Exclusive Fullscreen (Windows only)**: Set your app to maintain sole full-screen use of a display. Unlike **Fullscreen Window**, this mode changes the OS resolution of the display to match the app’s chosen resolution. This option is only supported on Windows.
- **Maximized Window (Windows and Mac only)**: Set the app window to the operating system’s definition of **maximized**. On Windows, it is a full-screen window with a title bar. On macOS, it is a full-screen window with a hidden menu bar and dock. **Fullscreen Window** is the default setting for other platforms.
- **Windowed**: Set your app to a standard, non-full-screen movable window, the size of which is dependent on the app resolution. In this mode, the window is resizable by default. Use the [Resizable Window](#resizable) setting to disable this. All desktop platforms support this full-screen mode. |
| **Default Is Native Resolution** | Enable this option to make the game use the default resolution used on the target machine.**Note**: This property isn't visible if you set **Fullscreen Mode** to **Windowed**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Default Screen Width**         | Set the default width of the game screen in pixels.**Note**: This property is visible only if you set **Fullscreen Mode** to **Windowed**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Default Screen Height**        | Set the default height of the game screen in pixels.**Note**: This property is visible only if you set **Fullscreen Mode** to **Windowed**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Mac Retina Support**           | Enable this option to enable support for high DPI (Retina) screens on a Mac. Unity enables this by default. This enhances Projects on a Retina display, but it's somewhat resource-intensive when active.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

### Standalone Player Options

Use this section to specify the settings to customize the screen. For example, you can set options for users to resize the screen and specify the number of instances that can run concurrently.


**Player Options for the Desktop platforms:**
![](/api/media?file=/engine/6000.0/media/images/PlayerSetPCStand.png)

| **Property**                                 | **Function**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Use Player Log**                           | Enable this option to write a log file with debugging information. Defaults to enabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Resizable Window**                         | Enable this option to allow resizing of the Player window.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Visible in Background**                    | Enable this option to display the application in the background if the **Windowed** [Fullscreen Mode](#fullscreen) option is used (in Windows).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Allow Fullscreen Switch**                  | Enable this option to allow default OS full-screen key presses to toggle between full-screen and windowed modes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Force Single Instance**                    | Enable this option to restrict desktop players to a single concurrent running instance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Use DXGI flip model swap chain for D3D11** | Use the flip model to ensure best performance for presenting your application. Every time a frame needs to be displayed, Unity makes a copy of the swap chain surface and blits it to the screen buffer. This setting affects the D3D11 graphics API. Disable this option to fall back to the Windows 7-style BitBlt model. When run in Windowed (borderless) full-screen mode, Unity displays the application swap chain directly on the screen, which reduces input latency by one frame and eliminates desktop composition done by the Desktop Window Manager in the same way that exclusive full-screen does. This optimization is known as "Independent Flip." For more information, refer to [PlayerSettings.useFlipModelSwapchain](/engine/6000.0/script-reference/unityeditor/playersettings/useflipmodelswapchain.md). |

## Splash Image

Use the **Virtual Reality Splash Image** setting to select a custom splash image for [Virtual Reality](/engine/6000.0/manual/xr.md) displays.

### Splash Screen

Settings for displaying the splash screen. To configure the splash screen, logos, and background settings in a script, refer to the [`PlayerSettings.SplashScreen`](/engine/6000.0/script-reference/unityeditor/playersettings/splashscreen.md.md) API reference documentation.

| **Property**           | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Show Splash Screen** | Enable or disable the splash screen.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Preview**            | Load a preview of the splash screen in the Game view. The preview reflects the resolution and aspect ratio of the Game view.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Splash Style**       | Choose the color style of the Unity logo.**Light on Dark**: A light version of the Unity logo best suited to display on dark colored backgrounds. This is the default setting.**Dark on Light**: A dark version of the Unity logo best suited to display on light colored backgrounds.                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Animation**          | Customize how the splash screen appears and disappears on screen.**Static**: No animation occurs.**Dolly**: The logo and background zoom to create a visual dolly effect. This is the default setting.**Custom**: Configure the background and logo zoom amounts to modify the dolly effect.**Logo Zoom**: Set the target zoom (from 0 to 1) for the logo when it reaches the end of the logo animation's total duration. This setting is available only when **Animation** is **Custom**.**Background Zoom**: Set the target zoom (from 0 to 1) for the background when it reaches the end of the splash screen animation's total duration. This setting is available only when **Animation** is **Custom**. |

### Logos

Settings to customize the logos in your splash screen.

| **Property**               | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Show Unity Logo**        | Enabled by default. Disable this option to remove the Unity logo from the splash screen.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Draw Mode**              | Select the order in which the logos appear on the splash screen. This setting is available only when **Show Unity Logo** is enabled.**Unity Logo Below**: Display the Unity logo underneath all logos in the **Logos** list.**All Sequential**: Display the Unity logo sequentially with all logos in the **Logos** list.                                                                                                                                                                                                                                                                                                                                                        |
| **Logos**                  | Choose the logos to include on the splash screen. Each logo must be a [sprite asset](/engine/6000.0/manual/unity2d/sprite.md.md). Do the following to update logos:To use the entire sprite as the logo, set the **Sprite Mode** to **Single**.To change the logo's aspect ratio, set the **Sprite Mode** to **Multiple** and edit the dimensions. For more information, refer to [Cut out sprites from a texture](/engine/6000.0/manual/unity2d/sprite/use-editor.md.md).To add and remove logos, use the plus (+) and minus (-) buttons.To reorder logos, drag them in the list.To create a delay between logos, add an entry to the Logos list with no Sprite Asset assigned. |
| **Logo Duration**          | Set the length of time each Sprite Asset appears on the screen. Use a value between 2 and 10 seconds. This setting is available only when **Draw Mode** is **All Sequential**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Splash Screen Duration** | Displays the total duration of all logos in the sequence, in seconds. The splash screen remains on screen for an additional 0.5 seconds before fading out.**Note**: Your application's splash screen might display for longer if the first scene isn't ready to play. In this case, the splash screen shows only the background image or color and then fades out when the first scene is ready to play.                                                                                                                                                                                                                                                                         |

### Background

Settings to customize the background of your application's splash screen.

| **Property**                 | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Overlay Opacity**          | Adjust how opaque the overlay appears to make the logos stand out. This affects the background color and image color of the logo, based on the **Splash Style**.Set the opacity to a lower value to reduce this effect. You can also disable the effect by setting it to 0. For example, if the **Splash Style** is **Light on Dark**, with a white background, the background becomes gray if the **Overlay Opacity** is 1, and white if set to 0.**Note**: The **Overlay Opacity** setting has an effect on the display of the **Background Color** and might not match the assigned color.                                                                       |
| **Background Color**         | Set a color for the splash screen. Unity uses this color if you don't set a **Background Image**.**Note**: The **Overlay Opacity** setting has an effect on the display of the **Background Color** and might not match the assigned color.                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Blur Background Image**    | Enable this setting to blur the background image you set. Disable this setting to display the background image with no blur effect.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Background Image**         | Set a reference to a sprite to use as a background. Unity adjusts the background image by uniformly scaling it until it fits both the width and height of the screen. This means that parts of the image might extend beyond the screen edges in some aspect ratios. To adjust the background image's response to aspect ratio, change the sprite's **Position** values in the [Sprite Editor tab of the Sprite Editor window](/engine/6000.0/manual/unity2d/sprite/sprite-editor-window-reference/reference.md.md).**Note**: Splash screen backgrounds don't support HDR images. Avoid using HDR image formats such as RGBA16 for splash screen background images. |
| **Alternate Portrait Image** | Set an alternative image for portrait aspect ratios, for example, a mobile device in portrait mode. If you don't assign an **Alternate Portrait Image** sprite, the Unity Editor uses the sprite assigned as the **Background Image** for both portrait and landscape mode.You can adjust the position and dimensions of the sprite in the **Sprite Editor** to control the aspect ratio and position of the background image on the splash screen.                                                                                                                                                                                                                 |

## Other Settings

This section allows you to customize a range of options organized into the following groups:

* [Rendering](#Rendering)
* [Vulkan Settings](#Vulkan)
* [Configuration](#Configuration)
* [Shader Variant Loading](#ShaderVariantLoading)
* [Shader Variant Loading Settings](#ShaderVariantLoading)
* [Script Compilation](#ScriptCompilation)
* [Optimization](#Optimization)
* [Stack Trace](#Logging)
* [Legacy](#Legacy)

### Rendering

Use these settings to customize how Unity renders your game for desktop (Windows, Mac, Linux) platforms.


**Rendering Player settings for Desktop platforms:**
![](/api/media?file=/engine/6000.0/media/images/PlayerSetPCOther-Rendering.png)

{ /*  This table uses single sourcing. For information on how to edit it, see https://confluence.unity3d.com/display/DOCS/Single-sourcing+table+rows.  */ }

| **Property**                         | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Color Space**                      | Choose which color space to use for rendering. For more information, refer to [Color spaces](/engine/6000.0/manual/materials-and-shaders/graphics-color/color-spaces.md.md).* **Gamma**: Gamma color space is typically used for calculating lighting on older hardware restricted to 8 bits per channel for the framebuffer format. Even though monitors today are digital, they might still take a gamma-encoded signal as input.- **Linear**: Linear color space rendering gives more precise results. When you select to work in linear color space, the Editor defaults to using \[sRGB] ([https://en.wikipedia.org/wiki/SRGB](https://en.wikipedia.org/wiki/SRGB)) sampling. If your [Textures](/engine/6000.0/manual/materials-and-shaders/textures/textures-getting-started/textures.md.md) are in linear color space, you need to work in linear color space and deactivate sRGB sampling for each Texture. |
| **Auto Graphics API for Windows**    | Enable this option to use the best Graphics API for the Windows machine the application runs on. Disable it to add and remove supported Graphics APIs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Auto Graphics API for Mac**        | Enable this option to use the best Graphics API for the macOS machine the application runs on. Disable it to add and remove supported Graphics APIs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Auto Graphics API for Linux**      | Enable this option to use the best Graphics API for the Linux machine the application runs on. Disable it to add and remove supported Graphics APIs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Color Gamut**                      | This setting doesn't apply to Linux.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **GPU Skinning**                     | Enable the use of shaders to calculate mesh skinning and blend shapes on the GPU.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Virtual Texturing (Experimental)** | Enable this option to reduce GPU memory usage and texture loading times if your Scene has many high resolution textures. For more information, refer to [Virtual Texturing](/engine/6000.0/manual/materials-and-shaders/textures/texture-loading/svt-streaming-virtual-texturing.md).The Unity Editor requires a restart for this setting to take effect.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

### Vulkan Settings

| **Property** | **Description** |
| ------------ | --------------- |

### Configuration

{ /*  This table uses single sourcing. For information on how to edit it, see https://confluence.unity3d.com/display/DOCS/Single-sourcing+table+rows.  */ }

| **Property**                      | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Scripting Backend**             | Choose the scripting backend you want to use. The scripting backend determines how Unity compiles and executes C# code in your Project.* **Mono**: Compiles C# code into .NET Common Intermediate Language (CIL) and executes that CIL using a Common Language Runtime. For more information, refer to [Mono](/engine/6000.0/manual/scripting/compilation-and-code-reload/script-compilation/backends/mono.md.md).- Editor: Compiles C# code into CIL, converts the CIL to C++ and then compiles that C++ into native machine code, which executes directly at runtime. For more information, refer to [IL2CPP](/engine/6000.0/manual/scripting/compilation-and-code-reload/script-compilation/backends/il2cpp.md.md).                                                                                                                                                                                                                                                                                                                             |
| **API Compatibility Level**       | Choose which .NET APIs you can use in your project. This setting can affect compatibility with third-party libraries. However, it has no effect on Editor-specific code (code in an Editor directory, or within an Editor-specific Assembly Definition).**Tip:** If you're having problems with a third-party assembly, you can try the suggestion in the [API Compatibility Level](#apiComp) section.* **.Net Framework**: Compatible with the .NET Framework 4 (which includes everything in the .NET Standard 2.0 profile plus additional APIs). Choose this option when using libraries that access APIs not included in .NET Standard 2.0. Produces larger builds and any additional APIs available aren't necessarily supported on all platforms. For more information, refer to [Referencing additional class library assemblies](/engine/6000.0/manual/scripting/environment-and-tools/overview-of-dot-net-in-unity/dotnet-profile-assemblies.md.md).- **.Net Standard 2.1**: Produces smaller builds and has full cross-platform support. |
| **C++ Compiler Configuration**    | Choose the C++ compiler configuration used when compiling IL2CPP generated code.* **Debug**: The debug configuration turns off all optimizations, which makes the code quicker to build but slower to run.* **Release**: The release configuration enables optimizations so that the compiled code runs faster, the binary size is reduced, but compilation takes longer.- **Master**: Master configuration enables all possible optimizations, squeezing every bit of performance possible. For instance, on platforms that use the MSVC++ compiler, this option enables link-time code generation. Compiling code using this configuration can take significantly longer than it does using the Release configuration. The recommended best practice is to build the shipping version of your game using the Master configuration if the increase in build time is acceptable.                                                                                                                                                                   |
| **IL2CPP Stacktrace Information** | Choose the information to include in a stack trace. For further details on the information types, refer to [Managed stack traces with IL2CPP](/engine/6000.0/manual/scripting/compilation-and-code-reload/script-compilation/backends/il2cpp/il2cpp-managed-stack-traces.md.md).* **Method Name**: Include each managed method in the stack trace.- **Method Name, File Name, and Line Number**: Include each managed method with file and line number information in the stack trace.

  **Note**: Using this option can increase both the build time and final size of the built program.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Allow downloads over HTTP**     | Indicate whether to allow downloading content over HTTP. The default option is **Not allowed** due to the recommended protocol being HTTPS, which is more secure.* **Not Allowed**: Never allow downloads over HTTP.* **Allowed in Development Builds**: Only allow downloads over HTTP in development builds.- **Always Allowed**: Allow downloads over HTTP in development and release builds.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Active Input Handling**         | Choose how to handle input from users.* **Input Manager (Old)**: Use the original [Input](/engine/6000.0/manual/input/legacy/class-input-manager.md.md) settings.* **Input System Package (New)**: Uses the new [input system package](https://docs.unity3d.com/Packages/com.unity.inputsystem@latest).- **Both**: Use both systems.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

#### API Compatibility Level

You can choose your mono API compatibility level for all targets. Sometimes a third-party .NET library uses functionality that's outside of your .NET compatibility level. To understand what's going on in such cases, and how to best fix it, try following these suggestions:

1. Install [ILSpy](https://www.microsoft.com/en-us/p/ilspy/9mxfbkfvsq13?cid=msft_web_chart\&activetab=pivot:overviewtab) for Windows.
2. Drag the .NET assemblies for the API compatilibity level you are having issues with into ILSpy. You can find these under `Frameworks/Mono/lib/mono/YOURSUBSET/`.
3. Drag in your 3rd-party assembly.
4. Right-click your 3rd-party assembly and select **Analyze**.
5. In the analysis report, inspect the **Depends on** section. The report highlights anything that the 3rd-party assembly depends on, but that's not available in the .NET compatibility level of your choice in red.

### Mac Configuration

This section is only relevant to macOS. For more information, refer to [macOS Player Settings](/engine/6000.0/manual/platform-specific/apple-mac/player-settings-mac-os.md#Configuration).

### Shader Settings

| **Property**               | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Shader Precision Model** | Select the default precision shaders use. For more information, refer to [Use 16-bit precision in shaders](/engine/6000.0/manual/materials-and-shaders/shaders/writing-custom/shader-writing/sl/writing-shader-writing-shader-programs-hlsl/sl-use16bit-precision-in.md.md).* **Platform default**: Use lower precision on mobile platforms, and full precision on other platforms.- **Unified**: Use lower precision if the platform supports it. |

### Shader Variant Loading Settings

Use these settings to control how much memory shaders use at runtime.

| **Property**                | **Description**                                                                                                                                                                                                                                                                                                        |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Default chunk size (MB)** | Sets the maximum size of compressed shader variant data chunks Unity stores in your built application for all platforms. The default is `16`. For more information, refer to [Shader loading](/engine/6000.0/manual/materials-and-shaders/shaders/shader-troubleshooting/shader-reduce-stalling/shader-loading.md.md). |
| **Default chunk count**     | Sets the default limit on how many decompressed chunks Unity keeps in memory on all platforms. The default is `0`, which means there's no limit.                                                                                                                                                                       |
| **Override**                | Enables overriding **Default chunk size** and **Default chunk count** for this build target.                                                                                                                                                                                                                           |
| **Chunk size (MB)**         | Overrides the value of **Default chunk size (MB)** on this build target.                                                                                                                                                                                                                                               |
| **Chunk count**             | Overrides the value of **Default chunk count** on this build target.                                                                                                                                                                                                                                                   |

### Script Compilation


**Script compilation settings for desktop platforms:**
![](/api/media?file=/engine/6000.0/media/images/ProjectSettingsScriptCompilation.png)

| **Property**                      | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Scripting Define Symbols**      | Sets custom compilation flags.For more details, refer to [Platform dependent compilation](/engine/6000.0/manual/scripting/compilation-and-code-reload/script-compilation/conditional-compilation/platform-dependent-compilation.md.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Additional Compiler Arguments** | Specifies additional arguments to pass to the Roslyn C# compiler. Enter one valid compiler argument per list entry. To create a new entry, select **Add (+)**. To remove an entry, select **Remove (-)**. Select **Apply** to include newly added arguments in future compilations. Select **Revert** to reset the list to the most recent applied state. Arguments must use the `csc.exe` syntax, for example: `-warnaserror`. For the full list of supported Roslyn compiler options, refer to [C# compiler options](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/) in the Microsoft documentation.You can also supply additional command-line arguments to the C# compiler with a `csc.rsp` [response file](https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-response-files?view=vs-2022) in your project's `Assets` folder. For more information on creating a response file, refer to [Creating a response file](/engine/6000.0/manual/scripting/environment-and-tools/overview-of-dot-net-in-unity/dotnet-profile-assemblies.md.md#create-response-file). **Note**: Defining the same arguments in both the **Additional Compiler Arguments** list and a response file can cause errors and unintended behavior. |
| **Suppress Common Warnings**      | Indicates whether to display the C# warnings [CS0169](https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0169) and [CS0649](https://docs.microsoft.com/en-us/dotnet/csharp/misc/CS0649).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Allow 'unsafe' Code**           | Enables support for compiling [‘unsafe’ C# code](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/unsafe) in a pre-defined assembly (for example, `Assembly-CSharp.dll`).For Assembly Definition Files (`.asmdef`), click on one of your `.asmdef` files and enable the option in the Inspector window that appears.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Use Deterministic Compilation** | Indicates whether to prevent compilation with the `-deterministic` C# flag. With this setting enabled, compiled assemblies are byte-for-byte the same each time they're compiled.For more information, refer to [C# Compiler Options that control code generation](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/deterministic-compiler-option).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

### Optimization


**Optimization settings for Desktop platforms:**
![](/api/media?file=/engine/6000.0/media/images/PlayerSetPCOther-Optimize.png)

| **Property**                | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Managed Stripping Level** | Choose how aggressively Unity strips unused managed (C#) code. When Unity builds your app, the Unity Linker process can strip unused code from the managed DLLs your Project uses. Stripping code can make the resulting executable smaller, but can sometimes remove code that's in use.For more information about these options and bytecode stripping with IL2CPP, refer to [ManagedStrippingLevel](/engine/6000.0/script-reference/unityeditor/managedstrippinglevel.md.md).* **Minimal**: Use this to strip class libraries, UnityEngine, Windows Runtime assemblies, and copy all other assemblies.* **Low**: Remove unreachable managed code to reduce build size and Mono/IL2CPP build times.* **Medium**: Run UnityLinker to reduce code size beyond what **Low** can achieve. You might need to support a custom link.xml file, and some reflection code paths might not behave the same.- **High**: UnityLinker will strip as much code as possible. This will further reduce code size beyond what Medium can achieve but managed code debugging of some methods might no longer work. You might need to support a custom link.xml file, and some reflection code paths might not behave the same. |

### Stack Trace

Select your preferred logging type by enabling the option that corresponds to each Log Type.

| **Property**   | **Description**                 |
| -------------- | ------------------------------- |
| **None**       | No logs are ever recorded.      |
| **ScriptOnly** | Logs only when running scripts. |
| **Full**       | Logs all the time.              |

For more information, refer to [stack trace logging](/engine/6000.0/manual/scripting/debugging-and-diagnostics/stack-trace.md).

### Legacy


**Legacy settings for Desktop platforms:**
![](/api/media?file=/engine/6000.0/media/images/PlayerSetPCOther-Legacy.png)

| **Property**                       | **Function**                                                                                                                                                                                        |
| ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Clamp BlendShapes (Deprecated)** | Enable the option to clamp the range of blend shape weights in [SkinnedMeshRenderers](/engine/6000.0/manual/assets-and-media/asset-types/mesh/components-reference/class-skinned-mesh-renderer.md). |

## Additional resources

* [PlayerSettings API](/engine/6000.0/script-reference/unityeditor/playersettings.md)
* [Static Batching](/engine/6000.0/manual/analysis/graphics-performance-profiling/reduce-draw-calls/draw-call-batching/enable.md)
