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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.