Search Issue Tracker
Fixed
Fixed in 6000.0.64f1, 6000.2.15f1, 6000.3.1f1, 6000.4.0a5, 6000.5.0a1
Votes
0
Found in
6000.0.38f1
6000.1.0b6
6000.2.0a3
6000.3.0a1
6000.4.0a1
Issue ID
UUM-97524
Regression
No
Clicking the pop-up menu of the 'Compile and show code' is very slow for shaders with many variants
Reproduction steps:
1. Open the attached “IN-94692.zip” project
2. Select “ProbuilderStandardVertexColor.shadergraph” from the Project Window
3. In the Inspector, press the dropdown button right side of ‘Compile and show code’
4. Observe the loading bar and the opened pop-up
Expected result: The pop-up opens immediately and the number of variants is around 400
Actual result: The pop-up takes more than 1 minute to open and the number of variants is more than 2 million
Reproducible with: 6000.0.25f1, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Not reproducible with: 2022.3.58f1, 6000.0.24f1
Reproduced on: Windows 11, macOS (M4 Max)
Not reproduced on: No other environment tested
Notes:
- In 6000.1 and 6000.2 versions the number of variants goes up to 9 million
- Also reproduces on a new project with URP or HDRP Lit Shader Graph. It does not reproduce with Built-In Lit Shader Graph
- Does not reproduce with Unlit Shader Graph
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
- Motion vectors are displayed when Phong Tessellation is used on the material and Skinned Motion Vectors are enabled on the GameObject's Skinned Mesh Renderer component
- Shader Graph Enum Keywords always select last element in Entries when Stages is set to Fragment and Recursive Rendering is enabled in the Scene
- [Mac] Glitchy visual artifacts appear when moving around a scene with Sphere Handles
- Crash on memcpy_repmovs when selecting NavMesh Agent objects while in Play Mode in a specific scene
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
Resolution Note:
Improved interactivity of progress bar when opening the "Compile and Show Code" dropdown in the Shader Inspector
Resolution Note (fix version 6000.4.0a5):
Improved interactivity of progress bar when opening the "Compile and Show Code" dropdown in the Shader Inspector
Resolution Note (fix version 6000.2.15f1):
Improved interactivity of progress bar when opening the "Compile and Show Code" dropdown in the Shader Inspector