Search Issue Tracker
Fixed
Fixed in 6000.3.8f1, 6000.4.X, 6000.5.0a6
Fix In Review for 6000.4.0b8
Votes
3
Found in
6000.1.0b8
6000.2.0a5
6000.3.0a1
6000.4.0a1
Issue ID
UUM-98633
Regression
No
#pragma skip_variants FOG_LINEAR does not remove FOG_LINEAR_KEYWORD_DECLARED keyword
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 UUM-98634)
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
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 (fix version 6000.5.0a6):
Fixed in 6000.5.0a6
Resolution Note (fix version 6000.4.0b8):
Fixed in 6000.4.0b8
Resolution Note (fix version 6000.3.8f1):
Fixed in 6000.3.8f1