diff --git a/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Shaders/Include/Spine-Sprite-ForwardPass-URP.hlsl b/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Shaders/Include/Spine-Sprite-ForwardPass-URP.hlsl index 42aac9a17..1e768e3da 100644 --- a/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Shaders/Include/Spine-Sprite-ForwardPass-URP.hlsl +++ b/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Shaders/Include/Spine-Sprite-ForwardPass-URP.hlsl @@ -367,8 +367,7 @@ half4 ForwardPassFragmentSprite(VertexOutputLWRP input #endif #if defined(_ADDITIONAL_LIGHTS) && USE_FORWARD_PLUS inputData.normalizedScreenSpaceUV = GetNormalizedScreenSpaceUV(input.pos); -#else - inputData.normalizedScreenSpaceUV = 0; + // note: don't assign normalizedScreenSpaceUV otherwise since old URP versions are missing this member variable #endif #if defined(SPECULAR)