Unity Issue Tracker - Production Ready Shaders - following Shader Variant Limit instructions does not fix pink spheres
Closed
UUM-76505
Production Ready Shaders - following Shader Variant Limit instructions does not fix pink spheres
Unity: ShaderGraph
Won't Fix
6.0.X
Added instructions to the pedestal indicating the the Lit/URPLit Shader Graph asset needs to be re-imported after increasing the variant count increase.
Steps to reproduce:
Create a new URP project.
Open Project Settings & Preferences windows, and check the Shader Graph page in both. Ensure Variant Limit setting in both is under 513, and do not close these windows.
Open Assets > Samples > Shader Graph > 17.0.3 > Production Ready Shaders > Scenes > URPProductionReadyShaders
Note the "Are These Spheres Pink?" text, and the pink spheres.
Follow the steps on the text:
Increase the Variant Limit to 513 in both Project Settings and Preferences.
Actual results: The spheres shouldn't be pink with the mentioned settings set to 513. This persists after restarting the project and confirming that the variant limits are both at 513.
Expected results: The spheres are still pink.
Reproducible with versions: 6000.0.12f1 (17.0.3)
Can't test with versions:
6000.0.0b15 (17.0.3)
Shader variant limit keeps resetting to 128 - no errors or warnings.
Sample not available, even though the package version is the same as 12f1.
2023.3.0b10 (17.0.2), sample not available
2022.3.39f1 (14.0.11), couldn't get past [Internal link]
2021.3.41f1 (12.1.15), sample not available
Tested on (OS): MacOS Intel 12.7.4
Notes:
Struggling to regression test as I keep running into [Internal link] while trying to do this. Marking as not a regression for the time being. Please contact ticket reporter if further testing is needed.
If you set the Variant Limit to 513 before importing Production Ready Shaders, there is no problem, and it works as expected.