unity3d-jp / UnityChanToonShaderVer2_Project

UnityChanToonShaderVer2 Project / v.2.0.9 Release
3.82k stars 811 forks source link

Shader error in 'Universal Render Pipeline/Toon': undeclared identifier #122

Open KazamazK opened 1 year ago

KazamazK commented 1 year ago

Unity version.

Shader version.

When UnityChanToonShader is installed, or there is a shader in the project error will appear. Sometimes the error message won't appear until the build. or re-import

Shader error in 'Universal Render Pipeline/Toon': undeclared identifier '_AdditionalLightsWorldToShadow' at Assets/UnityChanToonShaderVer2_Project-urp-2.5.1/UnityChanToonShaderVer2_Project-urp-2.5.1/Runtime/Shaders/UniversalToonBody.hlsl(229) (on d3d11)

Issue1

H3idi-X commented 1 year ago

Due to the human resources of our development team, it is difficult to maintain both the Unity-chan Toon Shader (univerasl) and the almost identical Unity Toon Shader. We apologize for the inconvenience, but would you please migrate to Unity Toon Shader? Please note materials need to be converted.

liunliun commented 1 year ago

error in unity 2022 lts hope you can fix it in this project because i have modify a lot on it,so it is hard to using unity package.