Approaches for optimizing build times or the performance of your application, by reducing the number of compiled shaders or controlling how much memory shaders use.
| Page | Description |
|---|---|
| Shader compilation | Understand how and when Unity compiles and loads shaders. |
| Compile shaders with the DirectX 12 compiler | To speed up compilation and use the latest shader features on some platforms, use the DXC compiler instead of the FXC compiler. |
| Reducing shader variants | Reduce the number of compiled shaders in your project. |
| Troubleshooting shader duplication from AssetBundles | Reduce the amount of memory and storage space shaders use. |
| Control how much memory shaders use | Limit the size of chunks of shader data, and how many decompressed chunks Unity keeps in memory. |