UDIM layout question

I have a mesh that has this kinds of UDIM layout. This works perfectly in V-Ray. I have also exported the textures from Substance Painter using the naming convention outlined in Epic documentation.

When I try to load this to the Unreal Engine, the result isnt correct and everything is messed up. First row loads right but then the row changes to V2 all is placed wrongly. Could someone point me in the right direction with this? Redoing the textures is impossible at this point.
Thanks.