I don’t know if it helps but try to check if your mesh has non-manifold edges. Maybe it doesn’t work because of that