Firstborn/Library/PackageCache/com.unity.render-pipelines..../Documentation~/urp-global-settings.md
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

1.9 KiB

URP Global Settings

If a project has the URP package installed, Unity shows the URP Global Settings section in the Graphics tab in the Project Settings window.

The URP Global Settings section lets you define project-wide settings for URP.

URP Settings Window

The section contains the following settings.

Light Layer Names (3D)

Use this section to define the names of Light Layers. Light Layers only work with 3D Renderers.

Shader Stripping

The check boxes in this section define which shader variants Unity strips when you build the Player.

Property Description
Strip Debug Variants When enabled, Unity strips all debug view shader variants when you build the Player. This decreases build time, but prevents the use of Rendering Debugger in Player builds.
Strip Unused Post Processing Variants When enabled, Unity assumes that the Player does not create new Volume Profiles at runtime. With this assumption, Unity only keeps the shader variants that the existing Volume Profiles use, and strips all the other variants. Unity keeps shader variants used in Volume Profiles even if the Scenes in the project do not use the Profiles.
Strip Unused Variants When enabled, Unity performs shader stripping in a more efficient way. This option reduces the amount of shader variants in the Player by a factor of 2 if the project uses the following URP features:
  • Light Layers
  • Native Render Pass
  • Reflection Probe Blending
  • Reflection Probe Box Projection
  • SSAO Renderer Feature
  • Decal Renderer Feature
  • Certain post-processing effects
Disable this option only if you see issues in the Player.