文档

Unity Engine

Download Unity

Unity Engine

Fixing hitches or stalls

Strategies for reducing stalls caused by Unity loading or compiling shaders while a scene is running.
阅读时间1 分钟最后更新于 2 个月前

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.