Which function are you using - vec_for_vertex? Can you upload or send the project to Support?
Hi JCL,
The project itself is quite large, wont be able to send that.
I'll make a new version stripped down that replicates the issue instead for you

Where do you want me to send it to?
EDIT: yes btw, I am using vec_for_vertex.
regards,