Following tutorial on making GPU sprites follow curve


I am trying to follow this answer:[answer][1]

I recreated the material, but I ran into a problem. I get an error saying:[SM5] Function GenerateASpline: (Node Multiply) Arithmetic between types float3 and float are undefined. How do I fix this?

For people who are getting into this error, it simply means that you need to change float 3 in the custom for float, which will transform your output as a float.