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
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
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