Steps to reproduce:
1. Open the attached user's project "TestShaders.zip"
2. Switch to a Android/Windows Standalone Build profile
3. Perform a build of "Assets/Scenes/SampleScene.unity"
4. Open the Player.log once the Windows Player launches
5. See that "Variant count" and "Shader count" are returned as 0
Actual Result: ShaderVariantCollection.variantCount and ShaderVariantCollection.shaderCount returns 0 in Builds
Expected Result: variantCount and shaderCount return appropriate count
Reproducible with: 6000.0.71f1, 6000.3.12f1, 6000.4.0f1, 6000.5.0a4 (35ed6e8537f8), 6000.5.0b1, 6000.6.0a1
Not reproducible with: 6000.5.0a3 (d715b48dcd52)
Environment tested: Windows 11 25H2
Notes:
-There are no rendering issues, the count is returned as 0
-Issue is not reproducible in the Editor Play Mode
-Issue is reproducible in Windows Standalone Player, Android Player
-Issue is reproducible with OpenGLES3 and Vulkan on Android