Cancelling: the 6000.1 version has reached its end of life. If you need additional fixes, please upgrade to a newer Unity version.
Reproduction steps:
1. Open the attached “IN-94056_ShaderSkipVariantsIssue-6000.1.zip“ project
2. Select the “Assets/MyTestShader.shader“ Shader in the Project Browser
3. Observe the Console
Expected result: No errors are present
Actual result: “Shader error in 'MyTestShader': undeclared identifier 'FOG_LINEAR'“ appears
Reproducible with: 6000.1.0b8, 6000.2.0a5
Not reproducible with: 2022.3.59f1, 6000.0.40f1 (Instead a different error is present from [Internal link])
Reproducible on: Windows 11 (User’s platform), M1 Max MacOS 15.1.1 (Tested by CQA)
Not reproducible on: No other environment tested
Note: add #define FOG_EXP 0 and #define FOG_LINEAR 0 after their skip_variants pragma to work around this
Prioritise and Follow this issue
Have a workaround or additional info about this issue?