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
- Silent crash when importing SVG files
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- "DebugAllocatorMode" option changes when changed in another Editor instance
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