UnityChanToonShaderVer2_Project
UnityChanToonShaderVer2_Project copied to clipboard
DOTS Compatibility | Shader does not appear to work with Hybrid Renderer V2
When I try to use this shader in DOTS with hybrid renderer V2 I get the following error.
A Hybrid Renderer V2 batch is using the shader "Universal Render Pipeline/Toon", but the shader is either not compatible with Hybrid Renderer V2, is missing the DOTS_INSTANCING_ON variant, or there is a problem with the DOTS_INSTANCING_ON variant.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
I also get a bunch of warnings about the shader not supporting skinning, e.g.
Shader [Universal Render Pipeline/Toon] on [Face] does not support skinning. This can result in incorrect rendering.
Please see documentation for Linear Blend Skinning Node and Compute Deformation Node in Shader Graph.
I have the following relevant defines declared ENABLE_HYBRID_RENDERER_V2 ENABLE_COMPUTE_DEFORMATIONS
Using packages: Unity 2020.3.25f Universal RP 10.7.0 Hybrid Renderer 0.11.0-preview.44 Universal Toon Shader for URP 2.3.0
This is probably a URP/Hybrid Renderer bug, but I am not shader savvy enough to figure it out, hoping someone here can help.
We are not 100% sure. but, we would like to share our status of ECS support for UTS. As UTS has a lot of shader variants already, ECS still drastically changes and unlisted in package manager for now. Maybe, it's hard for us to give high priority to support ECS for a while.