Hello,
I just recently upgraded my unity project to use the latest version of spine and the spine URP package. I am getting errors from both the Spine-Sprite-URP-2D and the Spine-Sprite-URP shaders. I have pasted the warnings and errors below. I'm currently running Unity 2021.1.18f1 and URP version 11.0.0
If anybody has run into this or knows something I should try please let me know.
Thanks!
Spine-Sprite-URP-2D:
Warning:
Shader warning in 'Universal Render Pipeline/2D/Spine/Sprite': Keyword PIXELSNAP_ON declared as global and local. It will be treated as local keyword.
Error:
Shader error in 'Universal Render Pipeline/2D/Spine/Sprite': Couldn't open include file 'Packages/com.esotericsoftware.spine.urp-shaders/Shaders/Include/SpineCoreShaders/Spine-Common.cginc'. at Assets/com.esotericsoftware.spine.urp-shaders-4.0-Unity2019.3-2021-07-01/com.esotericsoftware.spine.urp-shaders-4.0-2019.1/Shaders/Include/SpineCoreShaders/ShaderShared.cginc(10)
Compiling Fragment program with USE_SHAPE_LIGHT_TYPE_0 _ALPHAPREMULTIPLY_VERTEX_ONLY _EMISSION _FIXED_NORMALS_VIEWSPACE _NORMALMAP
Platform defines: SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: ETC1_EXTERNAL_ALPHA INSTANCING_ON PIXELSNAP_ON SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_VIRTUAL_TEXTURING USE_SHAPE_LIGHT_TYPE_1 USE_SHAPE_LIGHT_TYPE_2 USE_SHAPE_LIGHT_TYPE_3 _ADDITIVEBLEND _ADDITIVEBLEND_SOFT _ALPHABLEND_ON _ALPHAPREMULTIPLY_ON _ALPHA_CLIP _COLOR_ADJUST _FIXED_NORMALS_MODELSPACE _FIXED_NORMALS_MODELSPACE_BACKFACE _FIXED_NORMALS_VIEWSPACE_BACKFACE _LIGHT_AFFECTS_ADDITIVE _MULTIPLYBLEND _MULTIPLYBLEND_X2 _RIM_LIGHTING _STRAIGHT_ALPHA_INPUT _TEXTURE_BLEND
Spine-Sprite-URP:
Warning:
Shader warning in 'Universal Render Pipeline/Spine/Sprite': Ignoring duplicate keyword line '#pragma multi_compile_fog __ FOG_LINEAR FOG_EXP FOG_EXP2'
Error:
Shader error in 'Universal Render Pipeline/Spine/Sprite': Couldn't open include file 'Packages/com.esotericsoftware.spine.urp-shaders/Shaders/Include/SpineCoreShaders/Spine-Common.cginc'. at Assets/com.esotericsoftware.spine.urp-shaders-4.0-Unity2019.3-2021-07-01/com.esotericsoftware.spine.urp-shaders-4.0-2019.1/Shaders/Include/SpineCoreShaders/ShaderShared.cginc(10)
Compiling Fragment program
Platform defines: SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PASS_SHADOWCASTER UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: INSTANCING_ON SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_VIRTUAL_TEXTURING _ALPHATEST_ON _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A