Warning: "Material Circle doesn't have _Stencil property UnityEngine.Canvas:SendWillRenderCanvases ()" #115
Labels
0. Priority: Low
Low Priority PR - This is the lowest and least important priority label.
Blocked
This PR is currently blocked by another task/event.
Waiting for Unity -> Proper UI support for ShaderGraph
As the title says, there is a warning in our project that is associated with our circle ShaderGraph material. The warning follows:
We are missing the standard stencil properties in our ShaderGraph Circle shader. These are typically found in Unity's built in UI HLSL shaders and looks like this:
This warning can be fixed/suppressed by converting the Circle ShaderGraph shader to HLSL and adding the above stencil properties to the shader. Or alternatively, we can wait for Unity to add proper ShaderGraph support for UI based shaders as they road-mapped here: https://portal.productboard.com/8ufdwj59ehtmsvxenjumxo82/c/50-ui-integration-with-shader-graph?utm_medium=social&utm_source=portal_share
Think I'm going to wait for Unity to support UI ShaderGraph shaders.
Seems like it'll be coming in Unity version 2023.2 - beta 16.
The text was updated successfully, but these errors were encountered: