Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Fixing hitches or stalls

Strategies for reducing stalls caused by Unity loading or compiling shaders while a scene is running.
Read time 1 minuteLast updated a month ago

Strategies for reducing stalls caused by Unity loading or compiling shaders while a scene is running.

Page

Description

Shader loadingLearn about how Unity loads and uses shaders.
Prevent shader stuttersLearn how you can prevent shader stutters in your project.
Create a shader variant collectionCreate and prewarm groups of shader variants.
Asynchronous shader compilation in the EditorResources for compiling shader variants in the background, and using placeholder shaders in the meantime.