Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.26f1
6000.0.0b16
6000.1.0a7
7000.0.0a1
Issue ID
UUM-70410
Regression
No
Shader Compilation for projects with lots of Shaders can be slow (i.e. VFX Graph asset heavy projects)
Steps to reproduce:
1. Have a project with lots and lots of individual shaders. A production example of a project with 1000 VFX Assets resulted in over 15k individual shaders. Shader compilation during build takes > 1hour on i9-10980xe
2. Build the project, watch CPU utilisation during shader compilation stage.
Actual results: Shader compilation time during build can be incredibly slow as the shaders are compiling linearly on a single-thread. The number of shader-variants (post-stripping) should be very low so this scenario is not taking advantage of shader-variant multi-threading.
Expected results: Individual shaders are compiled over multiple threads to take advantage of multi-threading.
Reproducible with versions: All
Not reproducible with versions:
Can’t test with versions:
Tested on (OS):
Notes:
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
Resolution Note:
After careful consideration, we decided we will not fix this issue at this point.
We may reevaluate it later.