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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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