Curves are not attached to any UV map (except they do)

Hi! I’m currently trying to attach some hair to a mesh I rigged in order to animate it, but I get the error “curves are not attached to any UV map”. How do I fix it?
I also tried connecting the UV attribute from the target mesh to the node group, but the sockets don’t match, and I have no clue why.

The mesh already has UV and they’re not overlapping.

Thanks in advance!

image

This is the surface info my hair is using.
image

2 Likes

I’ve been trying to find a solution on my own for the past week, but there seems to be no mention of such an issue anywhere. I’m desperate :frowning:
Somebody help me please

The UV map should be the SURFACE UV map. Surface_uv_coordinates are the uv attachment of the curves (the attribute is in the actual curves). You should set the surface UV instead, which by default is UVMap

Hi Strangerman, what do you mean? The surface_uv_coordinates attribute is the name of my UV map
image

Sorry, I misunderstood your issue. Surface_uv_coordinate is usually the name of the curves attachment by default and I thought you were trying to use it as the surface uvmap. My bad.

Nah, it’s not your fault. It was just poor UV map naming choice. Thanks for trying to help though :v:

1 Like

Would help to put a blend in to troubleshoot.

No need for that, @ikakupa kindly helped me and found a solution. To fix this issue we have to select the hair curves, go into sculpt mode, go to the curves menu and select “snap to nearest surface”, and that’s it.

image

5 Likes

i get that you can use sculpt mode to snap the curves, and even convert them into a particle system, but how can i do this using geometry nodes? i want to avoid converting to a particle system while being able to deform the curves on an animated mesh.

1 Like

I’m not sure if this answers your question, but I managed to parent the groom using a proxy in order to animate it through the guides. This helped me a lot: