Search Issue Tracker
Fixed
Votes
0
Found in
2023.1.0a22
2023.1.0a23
Issue ID
UUM-20889
Regression
Yes
"Shader warning in ‘Shader Graphs/Water’" Warning with additional Warnings are thrown when building HDRP project
How to reproduce:
* Create a new project with the "3D (HDRP)" or the "3D Sample Scene (HDRP)" Template;
* Build the Project;
* Observe the Console;
Expected results: Nothing is printed apart the Logs
Actual results: Two Warnings are printed:
"Shader warning in ‘Shader Graphs/Water’: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them at (23)/Library/PackageCache/com.unity.render-pipelines.high-definition@15.0.2/Runtime/Water/Shaders/FoamUtilities.hlsl(57) (on metal)
Compiling Subshader: 0, Pass: GBufferTesselation, Fragment program with AREA_SHADOW_MEDIUM DECALS_4RT SHADOW_HIGH WATER_ONE_BAND _BLENDMODE_OFF
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: AREA_SHADOW_HIGH DEBUG_DISPLAY DECALS_3RT DECALS_OFF PROCEDURAL_INSTANCING_ON SHADER_API_GLES30 SHADOW_LOW SHADOW_MEDIUM STEREO_INSTANCING_ON UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_VIRTUAL_TEXTURING WATER_LOCAL_CURRENT WATER_THREE_BANDS WATER_TWO_BANDS _ADD_PRECOMPUTED_VELOCITY _BLENDMODE_ADD _BLENDMODE_ALPHA _BLENDMODE_PRE_MULTIPLY _DISABLE_DECALS _DISABLE_SSR _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT _TRANSPARENT_WRITES_MOTION_VEC"
"Stripping Runtime Debug Shader Variants, you won’t be able to use some features of the Standalone Rendering Debugger.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:196)"
Notes:
* Tested on macOS 12.4 (21F79);
* Could not find regression cause the whole building process takes lots of time and freezes the machine;
Reproducible in Unity 2023.1.0a22, 2023.1.0a23
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
- [APV] Impossible to switch between multiple Baking Set when multiple scenes are loaded additively
- [Linux] Low project loading speed when using Ubuntu 24.10
- [VFX Graph] URP ShaderGraph integration issue with VFX and Fog.
- The Editor is slowed down when a Volume Profile with many Overrides is open in the Inspector window
- Lightmap "View" button is not symmetric and has an empty space
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-20278