Shader Variants take a long time to compile in Unity.
I have a URP game, I read about how to reduce the shader variants compilaiton time here:
But I am not sure how to do some of the suggestions there.
Do these requires to edit shaders in 3rd party assets?
This is in the graphics settings of your project.
You maybe could check the build logs.
Also using the latest LTS with incremental builds will help a lot for big projects
This is the mega thread on the topic , plenty of things to try there.
In my experience, filtering the shader variants helped some, and not building Metal variants helped some. But the biggest help was when Unity improved the automatic shader stripping in one of the more recent versions so if you’re able to upgrade to Unity 2021 that’ll help.
1 Like