-
Notifications
You must be signed in to change notification settings - Fork 199
Description
Describe the bug
Any build that uses the Toon Shader fails at "Computing Shader Variants" logging the following error:
ERROR: Shader error in 'Toon': invalid subscript '_ShadowCoord' at Studio/<PROJECT>/Library/PackageCache/com.unity.toonshader@55c98bb9b707/Runtime/Legacy/Shaders/UCTS_DoubleShadeWithFeather.cginc(124) (on metal)
WARNING: Shader warning in 'Toon': _FORWARD_PLUS shader keyword has been deprecated. Please update your shaders to use _CLUSTER_LIGHT_LOOP shader keyword instead, otherwise shader compilation times may be negatively affected. at /Users/<user>/Documents/Game Studio/<PROJECT>/Library/PackageCache/com.unity.render-pipelines.universal@1e1527b3a17b/ShaderLibrary/ForwardPlusKeyword.deprecated.hlsl(12)
(...)
To Reproduce
Steps to reproduce the behavior:
- Download the Universal 3D Sample Template.
- Install the Toon Shader package, and create a material that uses it
- Just make a build using the latest Toon Shader version
Expected behavior
To get a functional build that uses the Toon Shader correctly.
Desktop (please complete the following information):
- OS: macOS Tahoe 26.0
- Engine: Unity 6000.2.6f2
Additional context
- I tried moving the project to another drive yet the same error logged (with the same directory: [Studio//Library/PackageCache])
- I tried deleting the Library folder