Skip to content

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

Description

@KazamazK

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions