Search Issue Tracker
By Design
Votes
0
Found in
2022.3.57f1
6000.0.37f1
6000.1.0b5
6000.2.0a1
Issue ID
UUM-96973
Regression
No
[SW-unity-6-1] Shader warning in the Inspector when selecting ‘Shader Graphs/ShaderGraph_Water_Unlit’ Shader
Steps to reproduce:
1. Open the attached "IN-93141" project
2. Build and Run
3. Open ShaderGraphs → Shader Graph_Water_Unlit
4. Observe the Error in the Inspector
Expected result: No error
Actual result: Shader Graph_Water_Unlit has an error in the Inspector
Reproducible in : 2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
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
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
Resolution Note:
The warning appears to be valid. In the ShaderGraph_Water_Unlit shader, the "Calculate Edge Gradient (Top and Bottom)" group contains a Power node (UV -> Split -> Negate -> Add -> Power) whose input could be negative if the input UV coordinate has a Y component greater than 1.
Adding a Saturate node before the Power node would enforce the expected range and make the warning go away. Or, you can ignore it if you are sure your input UVs will be between 0 and 1.