Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KazamazK opened this issue Feb 2, 2023 · 2 comments
Open

Comments

@KazamazK
Copy link

KazamazK commented Feb 2, 2023

Unity version.

  • 2021.3.16f1 LTS
  • 2021.3.17f1 LTS

Shader version.

  • UTS/Universal 2.5.1
  • UTS/Universal 2.5.0
  • UTS/Universal 2.4.0
  • UTS/Universal 2.3.0

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
Copy link
Contributor

H3idi-X commented Feb 17, 2023

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants