Cannot cast from larger type float3 to smaller type float2

Sorry for the pic, keyboard kinda broken.


Hello I am just trying to create a space scene but this error is in the way. I am following this gentleman’s tutorial.

He created the nebula HDRI himself, I downloaded it instead. Maybe that’s where I have made a mistake?

Hi Not0RiouS0994,

Just use a “ComponentMask” node between your code and the UV’s pin - in the details panel, tick R and G. That converts it to a float2

Well it removed the error but the result is bad lol stretched texture everywhere, it is a solution but not the one that works for me.The man at the tutorial at 26:44 minute mark drags the texture and the errors get removed without any extra nodes. What am I missing?

I think that’s a different error - can you snapshot the part of your code that calculates the UV - that’s where the error will be… Did you use “TransformVector” from WorldSpace to LocalSpace like he shows?