Xgen Grooming to Unreal With Texture

Hi,

I’m trying to export a fur that I did on Maya 2023/Xgen to Unreal 5.1. I read the Guidelines in the Unreal Docs and I try to change the “groom_root_uv” script to fit my scene. But for some reason I have a syntax error when I run it.

I’m attaching a print screen of my scene and the script that I use. Does anyone knows what could be happening?

Thanks a lot!!

Marcos